cgi.py and IE 4.01 Content-type headers

sdyer7073 at my-deja.com sdyer7073 at my-deja.com
Wed Oct 20 11:37:00 EDT 1999


I am running into the occaisional problem with IE 4.01 sending a
content-type header of the form where the content-type is repeated
seperated by commas:

application/x-www-form-urlencoded, application/x-www-form-urlencoded

instead of the more usual:

application/x-www-form-urlencoded

The cgi module chokes on this. It happens about 0.5% of the time, but I
eventually need to address the problem. Is this allowable in the HTTP
specs, or is it simply garbage generated by IE? Since IE 4.01 seems to
be the browser shipped with Win98, the cgi module may need to address
this eventually...


Sent via Deja.com http://www.deja.com/
Before you buy.




More information about the Python-list mailing list