diff options
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r-- | Lib/httplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index cd0bdb9..04cfca6 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -403,7 +403,7 @@ class HTTPConnection: if self.debuglevel > 0: print "send:", repr(str) try: - self.sock.send(str) + self.sock.sendall(str) except socket.error, v: if v[0] == 32: # Broken pipe self.close() |