-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] aiohttp.ClientSession.request('GET') issue #1403
Comments
I got some break through in the problem, the problem is with the headers if 'Content-Encoding' in headers:
del headers['Content-Encoding']
if 'Transfer-Encoding' in headers:
del headers['Transfer-Encoding'] is there any way to transfer |
There is no such function in |
@asvetlov oh I see, thanks. |
Thank you |
Long story short
Iam trying to build a proxy server, but iam unable to perform a GET request properly.
Expected behaviour
When we request a url we must get the proper complete response after all redirects etc.
Actual behaviour
But we are getting an error like this
For some sites eg:nginx Iam getting a bit different error.
Steps to reproduce
just copy the above server code and run it in one terminal and another terminal to test with ipython
Your environment
Python3.5 virtual env, Ubuntu16.04, my Ipython is running on Python2.7
The text was updated successfully, but these errors were encountered: