diff --git a/Lib/httplib.py b/Lib/httplib.py index d7254ffd0c5..4bad4638a44 100644 --- a/Lib/httplib.py +++ b/Lib/httplib.py @@ -645,6 +645,9 @@ class FakeSocket: def send(self, stuff, flags = 0): return self.__ssl.write(stuff) + def sendall(self, stuff, flags = 0): + return self.__ssl.write(stuff) + def recv(self, len = 1024, flags = 0): return self.__ssl.read(len)