Kristján Valur Jónsson <[EMAIL PROTECTED]> added the comment:

I think it would have been better to have endheaders() (and then perhaps 
_send_output())  deal with the non-string (i.e. filebuffer) case, so 
that endheaders(body) is semantically equivalent to endheaders(); 
send(body).   The version you checked in makes it necessary that the 
user of HTTPConnection.endheaders() is aware of the distinction.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4336>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to