multiple content-types break cgi.py

Jon Ribbens jon+usenet at unequivocal.co.uk
Sun Mar 4 05:29:16 EST 2007


In article <1173002603.690853.250090 at p10g2000cwp.googlegroups.com>, Janto Dreijer wrote:
> The Nokia Java SDK allows one to define multiple content-types in a
> single HTTP header field. I'm not sure if it's standard, but it's
> happening from some Java-enabled phones.
> 
> The only reference to this "bug" I can find dates back to 1999:
> http://tinyurl.com/3ahc3r

It's not a bug - sending multiple content-types is just totally broken.
What would such a header even be supposed to mean? It's like saying
"this is an apple orange".



More information about the Python-list mailing list