On Tue, Jul 01, 2003 at 12:10:36PM -0400, Mark Bucciarelli wrote: > On Tuesday 01 July 2003 11:41 am, Oleg Broytmann wrote: > > I am switching from BaseHTTPServer because my server triggered a > > very strange bug in M$IE > > do you have a test case? I have one, but it is big and ugly (it based on my entire application). Do you really want to see it? If yes - I'll try to clean it up and send it to you. (I am saying "try to clean" becuase I suspect the bug may disappear if I convert my HTML pages to English, or do something other what I cannot do in the real application...) The bug is triggered by a number of conditions. First, the browser and the server must be on the same computer; because of this very few people at all can trigger the bug. Second, it depends on a content. I have a form with a number of inputs; once I cleared the bug by changed "name" attributes of the inputs from composite names like "OperationCode-ResourceCode-etc" to just "Field1", "Field2"... etc. The bug disappeared... for a time, and reappeared when I increased the number of inputs in the form. The M$IE behaves like this. User submits the form, server processes it and sends a redirect to the same URL; user modifies inputs and submits the form for the second time. This time IE sends 2 (I said "two"!) POSTs, and whaterver server replies (whether it is HTTP 200, or 303, or 404) IE complains "DNS Error". Other browsers (I tried Mozilla for Linux and for Windows) work fine with the application. (That was my fault, actually - I was developing the application using Mozilla for Linux, and only very late tested it with IE on Windows. Never use good computer, good OS or good browser for developing... or at least test it often with bad ones.) As I said, I did a brief experiment with Medusa, and found that IE sends only one POST and behaves as expected. The bug still may reappear, of course, but how can I predict it without knowing IE internals? Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.