-
-
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
Flask request headers #1197
Comments
@asvetlov wsgi needs to be adjusted. but what is the reason to use non-async framework with |
asvetlov
added a commit
that referenced
this issue
Sep 22, 2016
Fixed by b782139 |
This was referenced Sep 27, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Long story short
After upgrading to aiohttp-1.0.1 and multidict-2.1.0 I can no longer get values from flask.request.headers.
Reverting back to aiohttp==0.22.5 multidict==1.2.2 works fine.
Expected behaviour
Actual behaviour
Steps to reproduce
Viewing the data of request.headers.dict['environ'] reveals that the key is actually 'HTTP_Host' and not 'HTTP_HOST' as werkzeug is looking for.
Your environment
aiohttp (1.0.1)
Flask (0.11.1)
gunicorn (19.6.0)
multidict (2.1.0)
Werkzeug (0.11.11)
The text was updated successfully, but these errors were encountered: