We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bottle stores these two headers without the HTTP_ prefix (see https://github.com/bottlepy/bottle/blob/f9b1849db4dd724e36a93a1032be592193fba581/bottle.py#L2289). But boddle doesn't make this exception, see:
HTTP_
boddle/boddle.py
Line 48 in 74413e4
Which means that this fails:
with boddle(headers={'Content-Type': 'application/json'}): content_type = bottle.request.headers['Content-Type'] # this line fails
Because the header is stored as HTTP_CONTENT_TYPE by boddle, but bottle looks for CONTENT_TYPE
HTTP_CONTENT_TYPE
CONTENT_TYPE
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bottle stores these two headers without the
HTTP_
prefix (see https://github.com/bottlepy/bottle/blob/f9b1849db4dd724e36a93a1032be592193fba581/bottle.py#L2289). But boddle doesn't make this exception, see:boddle/boddle.py
Line 48 in 74413e4
Which means that this fails:
Because the header is stored as
HTTP_CONTENT_TYPE
by boddle, but bottle looks forCONTENT_TYPE
The text was updated successfully, but these errors were encountered: