FAQ
Hello everyone,


I was hoping for some advice in dealing with an edge case related to
Python's HTTP Header handling. Python is correctly assuming that the
HTTP header field name (eg Content-Type) is case insensitive, but I have
a webservice I am interacting with that does not follow the standards.
I am passing in the header "SOAPAction" and do_request of
AbstractHTTPHandler is applying title() to the string, leading to the
field name being "Soapaction", which the server does not recognize.


So my question is, what does everyone suggest is the best solution for
being able to pass a case sensitive header to the server?


Thanks!
Logan

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 6 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedNov 18, '13 at 2:25p
activeNov 21, '13 at 12:49a
posts6
users2
websitepython.org

2 users in discussion

Chris Angelico: 3 posts Logan: 3 posts

People

Translate

site design / logo © 2022 Grokbase