[Twisted-Python] stupid case sensitive web clients

Matthias Urlichs smurf at noris.de
Fri Nov 15 05:22:49 MST 2002


Hi,

Hamish Lawson:
> > > I have a stupid device that's talking to a Twisted web server that
> > > demands HTTP headers to be capitalized Like-This

Ouch. What does the manufacturer of said stupid device have to say about
this?

> 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.
> 
Personally, I'd rather send them as cOnTeNt-tYpE on principle, so that
those idiot devices / programs actually get _fixed_ sometime.    :-/

-- 
Matthias Urlichs     |     noris network AG     |     http://smurf.noris.de/




More information about the Twisted-Python mailing list