[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2014-01-18 Thread Nikolaus Rath
Nikolaus Rath added the comment: Thanks for looking at this! Attached is an updated patch with testcase (sorry, I thought I had included testcases everywhere). -- Added file: http://bugs.python.org/file33532/issue18574_rev2.patch ___ Python tracker

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2014-01-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 093ab6c02ff4 by Benjamin Peterson in branch '3.3': fix handling of 100-continue status code (closes #18574) http://hg.python.org/cpython/rev/093ab6c02ff4 New changeset 20a2597d6653 by Benjamin Peterson in branch 'default': merge 3.3 (#18574)

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2014-01-18 Thread Nikolaus Rath
Nikolaus Rath added the comment: I just realized that the Misc/NEWS entry is just utterly wrong (it is talking abou the client, even though the bug is in the server), my apologies. Here's a fixed one: - Issue #18574: Added missing newline in 100-Continue reply from

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2014-01-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d00ed6e7a823 by Benjamin Peterson in branch '3.3': correct news entry for #18574 http://hg.python.org/cpython/rev/d00ed6e7a823 New changeset cf0678c3b735 by Benjamin Peterson in branch 'default': merge 3.3 (#18574)

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2014-01-17 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18574 ___ ___ Python-bugs-list

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2014-01-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: A test would be good. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18574 ___ ___

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2014-01-07 Thread Nikolaus Rath
Nikolaus Rath added the comment: *ping* Is there anything wrong with the patch? What do I have to do to get it applied? -- Added file: http://bugs.python.org/file33360/issue18574.diff ___ Python tracker rep...@bugs.python.org

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2013-08-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18574 ___ ___ Python-bugs-list mailing list

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2013-07-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +orsenthil versions: -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18574 ___ ___

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2013-07-27 Thread Nikolaus Rath
New submission from Nikolaus Rath: 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.

[issue18574] BaseHTTPRequestHandler.handle_expect_100() sends invalid response

2013-07-27 Thread Nikolaus Rath
Nikolaus Rath added the comment: The correct link is http://tools.ietf.org/html/rfc2616#section-10.1: 10.1 Informational 1xx This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line.