BaseHTTPServer & TCP Reset
sholden at holdenweb.com
Thu Jan 24 10:16:24 EST 2002
"Scherer, Bill" <Bill.Scherer at VerizonWireless.com> wrote in message
news:mailman.1011884317.31625.python-list at python.org...
> I'm having a problem with an application using BaseHTTPServer.
> Certain results coming from one method in the application will
> cause a reset at the tcp level. This is causing great headaches,
> for in IE 5.0, the user is simply warned of the connection reset
> and left at that.
> IE 5.5 however, upon receiving the reset, will rePOST the
> request. Soetimes it even does a third resubmit, only as a GET
> request. !?!?!?!?!?
> The behavior is repeatable. The response data is html, with
> proper headers, content-length, etc. Python is v2.1.1, and OS is
> RH Linux 6.2.
> Any help is greatly appreciated.
It's probably line 3 of your method terminating the output early :-)
A little more context might be helpful in debugging this problem. Are you
absolutely POSITIVE that the Content-Length: header is correct? I've seen
this odd behavior from IE in the past, and ISTR it was associated with
Anyway, perhaps if we needed our psychic powers less, we could be more
Consulting, training, speaking: http://www.holdenweb.com/
Python Web Programming: http://pydish.holdenweb.com/pwp/
More information about the Python-list