Show More
@@ -216,9 +216,14 b' def _generic_proxytunnel(self):' | |||||
216 | # majority of the following code is duplicated from |
|
216 | # majority of the following code is duplicated from | |
217 | # httplib.HTTPConnection as there are no adequate places to |
|
217 | # httplib.HTTPConnection as there are no adequate places to | |
218 | # override functions to provide the needed functionality |
|
218 | # override functions to provide the needed functionality | |
|
219 | # strict was removed in Python 3.4. | |||
|
220 | kwargs = {} | |||
|
221 | if not pycompat.ispy3: | |||
|
222 | kwargs['strict'] = self.strict | |||
|
223 | ||||
219 | res = self.response_class(self.sock, |
|
224 | res = self.response_class(self.sock, | |
220 |
|
|
225 | method=self._method, | |
221 |
|
|
226 | **kwargs) | |
222 |
|
227 | |||
223 | while True: |
|
228 | while True: | |
224 | version, status, reason = res._read_status() |
|
229 | version, status, reason = res._read_status() |
General Comments 0
You need to be logged in to leave comments.
Login now