New submission from Guthur <gut...@hotmail.com>: HTTPResponse does not store the HTTP response body while it does store the response headers, which in my opinion makes it rather useless as a HTTP response abstraction object.
The only way to obtain the response body is to call HTTPResponse.Read ([amt]) and store the body seperately, this must also be carried out before the connection is closed, which makes no sense as the server serves both HEADERs and BODY together. I can think of no real reason why this should be the case HTTP already provides a method for receiving just the headers with the HEAD request type. Keynotes: HTTPResponse should store the body, if received, as well as the headers. ---------- components: Library (Lib) messages: 88648 nosy: Guthur severity: normal status: open title: HTTPResponse not storing response body type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6161> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com