]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue 4336: HTTPRequest._send_output() now deals with the case of the message body...
authorKristján Valur Jónsson <kristjan@ccpgames.com>
Fri, 9 Jan 2009 20:23:16 +0000 (20:23 +0000)
committerKristján Valur Jónsson <kristjan@ccpgames.com>
Fri, 9 Jan 2009 20:23:16 +0000 (20:23 +0000)
commit7e876f5e931b92e6becb08033a8980cb31fb2e8e
treef5f53583707500d2da3d9397a59a007559897b2e
parent3b2a6b819d93868c960da91aeebca7093d6f1627
Issue 4336:  HTTPRequest._send_output() now deals with the case of the message body not being a string.  This allows clients to use endheaders(message_body) instead of endheaders() + send(message_body) without making any extra checks.
Lib/httplib.py