So it seems we have a compatibility issue with python2.6.
I don't see a function called "ssl.wrap_socket()" it python2.5 and early. There is socket.ssl(sock)
so perhaps they mean that instead of using: ssl = socket.ssl(self.sock, self.key_file, self.cert_file) self.sock = httplib.FakeSocket(self.sock, ssl)
we should be doing self.sock = socket.ssl(self.sock, self.key_file, self.cert_file)
Anyway, it seems that not only did they deprecate FakeSocket, they also broke it by removing the 'sendall()' function.
So it seems we have a compatibility issue with python2.6.
I don't see a function called "ssl.wrap_socket()" it python2.5 and early. There is socket.ssl(sock)
so perhaps they mean that instead of using: ssl(self. sock, self.key_file, self.cert_file) FakeSocket( self.sock, ssl)
ssl = socket.
self.sock = httplib.
we should be doing ssl(self. sock, self.key_file, self.cert_file)
self.sock = socket.
Anyway, it seems that not only did they deprecate FakeSocket, they also broke it by removing the 'sendall()' function.