Show More
@@ -208,18 +208,14 b' def _generic_proxytunnel(self):' | |||
|
208 | 208 | version, status, reason = res._read_status() |
|
209 | 209 | if status != httplib.CONTINUE: |
|
210 | 210 | break |
|
211 | while True: | |
|
212 |
|
|
|
213 | if not skip: | |
|
214 | break | |
|
211 | # skip lines that are all whitespace | |
|
212 | list(iter(lambda: res.fp.readline().strip(), '')) | |
|
215 | 213 | res.status = status |
|
216 | 214 | res.reason = reason.strip() |
|
217 | 215 | |
|
218 | 216 | if res.status == 200: |
|
219 | while True: | |
|
220 |
|
|
|
221 | if line == '\r\n': | |
|
222 | break | |
|
217 | # skip lines until we find a blank line | |
|
218 | list(iter(res.fp.readline, '\r\n')) | |
|
223 | 219 | return True |
|
224 | 220 | |
|
225 | 221 | if version == 'HTTP/1.0': |
General Comments 0
You need to be logged in to leave comments.
Login now