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 Guthur
Recipients Guthur
Date 2009-06-01.15:59:26
SpamBayes Score 0.015781866
Marked as misclassified No
Message-id <1243871968.86.0.721781511059.issue6161@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-06-01 15:59:28Guthursetrecipients: + Guthur
2009-06-01 15:59:28Guthursetmessageid: <1243871968.86.0.721781511059.issue6161@psf.upfronthosting.co.za>
2009-06-01 15:59:27Guthurlinkissue6161 messages
2009-06-01 15:59:26Guthurcreate