[issue16088] http.server's send_error could set the content-length of the error body

2012-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: I took the privilege of testing, adding news and docs and committing it. Thank you! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue16088] http.server's send_error could set the content-length of the error body

2012-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee34cb049a10 by Senthil Kumaran in branch 'default': Issue #16088: BaseHTTPRequestHandler's send_error method includes a http://hg.python.org/cpython/rev/ee34cb049a10 -- nosy: +python-dev ___ Python track

[issue16088] http.server's send_error could set the content-length of the error body

2012-10-10 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Looks good. -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue16088] http.server's send_error could set the content-length of the error body

2012-10-09 Thread Senthil Kumaran
Senthil Kumaran added the comment: +1 to this change. It may be helpful in the cases like issue15991. -- ___ Python tracker ___ ___ Py

[issue16088] http.server's send_error could set the content-length of the error body

2012-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file27349/http_error_content_length.patch ___ Python tracker ___ ___

[issue16088] http.server's send_error could set the content-length of the error body

2012-09-29 Thread Antoine Pitrou
New submission from Antoine Pitrou: BaseHTTPRequestHandler.send_error() sets "connection: close", so the client shouldn't need a content-length, but it can still be nicer to send it (e.g. it seems to solve an issue with wget, see issue15991). -- components: Library (Lib) messages: 1715