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 yangman
Recipients yangman
Date 2008-08-27.23:43:45
SpamBayes Score 7.6909346e-05
Marked as misclassified No
Message-id <>
send_header() in BaseHTTPRequestHandler currently does a write to socket
every time send_header() is called. This results in excessive number of
TCP packets being regenerated. Ideally, as much of the HTTP packet is
buffered as possible, but, at minimum, the header should be sent with a
single write as there is a convenient end_header() functional available.

Behaviour is observed under python 2.5, but the related code looks
identical in SVN trunk.

Will contribute patch if request is deemed reasonable but no one is
available to work on it; I just need a few days.
Date User Action Args
2008-08-27 23:43:47yangmansetrecipients: + yangman
2008-08-27 23:43:47yangmansetmessageid: <>
2008-08-27 23:43:46yangmanlinkissue3709 messages
2008-08-27 23:43:45yangmancreate