Show More
@@ -246,13 +246,9 b' def _generic_proxytunnel(self):' | |||||
246 |
|
246 | |||
247 | # majority of the following code is duplicated from |
|
247 | # majority of the following code is duplicated from | |
248 | # httplib.HTTPConnection as there are no adequate places to |
|
248 | # httplib.HTTPConnection as there are no adequate places to | |
249 | # override functions to provide the needed functionality |
|
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 |
|
|||
254 |
|
250 | |||
255 |
res = self.response_class(self.sock, method=self._method |
|
251 | res = self.response_class(self.sock, method=self._method) | |
256 |
|
252 | |||
257 | while True: |
|
253 | while True: | |
258 | version, status, reason = res._read_status() |
|
254 | version, status, reason = res._read_status() |
General Comments 0
You need to be logged in to leave comments.
Login now