[Twisted-Python] stupid case sensitive web clients

Hamish Lawson hbl at st-andrews.ac.uk
Fri Nov 15 07:20:22 EST 2002

[This time with a subject line!]

Jeff Epler wrote:

>Bob Ippolito wrote:
> > I have a stupid device that's talking to a Twisted web server that
> > demands HTTP headers to be capitalized Like-This, however Twisted only
> > capitalizes the first character..
> > Any chance someone could patch that up?
>     "Field names are case-insensitive"

Nevertheless the headers are almost always presented in the HTTP spec and 
other reference materials in the style 'Content-Type'. I would guess 
therefore that this style will be the one most widely adopted by those 
broken clients that expect a particular capitalisation.

Hamish Lawson

More information about the Twisted-Python mailing list