You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this problem as well. RFC 2616 is nice and all, if every web application would follow it, but that's not the case. I would definitely prefer that the header case would be preserved the way I enter it.
In my case AuthenticationToken becomes Authenticationtoken which the API won't accept.
Activity
stamparm commentedon Jul 13, 2012
From RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1", §4.2, "Message Headers":
Python does the capitalization as per given RFC standard. Maybe something else is wrong in your case.
hagronnestad commentedon Nov 19, 2013
I have this problem as well. RFC 2616 is nice and all, if every web application would follow it, but that's not the case. I would definitely prefer that the header case would be preserved the way I enter it.
In my case
AuthenticationTokenbecomesAuthenticationtokenwhich the API won't accept.stamparm commentedon Nov 24, 2013
Problem is that Python does the "capitalization" part. We'll need to make a dirty hack to bypass it
p.s.
http://bugs.python.org/issue2275
https://groups.google.com/forum/#!topic/comp.lang.python/Ndl6s0EldKk
Fix for an Issue #85