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 nikratio
Recipients nikratio
Date 2013-07-28.00:36:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374971787.85.0.837580893432.issue18574@psf.upfronthosting.co.za>
In-reply-to
Content
The handle_expect_100() implementation in BaseHTTPRequestHandler currently calls send_response_only(100) followed by flush_headers(). However, even a 1xx response is always followed by a (potentially empty) set of response headers (cf. http://tools.ietf.org/html/rfc2616#section-9.9). Therefore, clients will block waiting for an additional '\r\n' before sending the buffer.

The attached patch fixes the problem.
History
Date User Action Args
2013-07-28 00:36:27nikratiosetrecipients: + nikratio
2013-07-28 00:36:27nikratiosetmessageid: <1374971787.85.0.837580893432.issue18574@psf.upfronthosting.co.za>
2013-07-28 00:36:27nikratiolinkissue18574 messages
2013-07-28 00:36:27nikratiocreate