##// END OF EJS Templates
url: remove passing of strict...
Gregory Szorc -
r49741:127cc453 default
parent child Browse files
Show More
@@ -246,13 +246,9 b' def _generic_proxytunnel(self):'
246 246
247 247 # majority of the following code is duplicated from
248 248 # httplib.HTTPConnection as there are no adequate places to
249 # override functions to provide the needed functionality
250 # strict was removed in Python 3.4.
251 kwargs = {}
252 if not pycompat.ispy3:
253 kwargs[b'strict'] = self.strict
249 # override functions to provide the needed functionality.
254 250
255 res = self.response_class(self.sock, method=self._method, **kwargs)
251 res = self.response_class(self.sock, method=self._method)
256 252
257 253 while True:
258 254 version, status, reason = res._read_status()
General Comments 0
You need to be logged in to leave comments. Login now