This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author theamk
Recipients theamk
Date 2012-09-20.20:02:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When using BaseHTTPServer with ThreadingMixIn, sometimes the wrong data is served. 

The attached script requests normal URL and URLs which are not found in multiple threads using wget (which only saves pages if it gets 200 OK status).
Every once in a while responses are incorrect.
 - sometimes normal URL gets a '404 not found' content with '200 OK' status.
 - sometimes, a '404 not found' page gets '200 OK' status code

The problems become much, much less frequent if ThreadingMixIn is removed.

Python 2.7.3 on ubuntu 12.04 x86_64.
Date User Action Args
2012-09-20 20:03:01theamksetrecipients: + theamk
2012-09-20 20:03:01theamksetmessageid: <>
2012-09-20 20:03:00theamklinkissue15991 messages
2012-09-20 20:03:00theamkcreate