You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/request/connect.py
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -227,17 +227,18 @@ def _retryProxy(**kwargs):
227
227
228
228
@staticmethod
229
229
def_connReadProxy(conn):
230
-
retVal=b""
230
+
parts=[]
231
231
232
232
ifnotkb.dnsModeandconn:
233
233
headers=conn.info()
234
234
ifkb.pageCompressandheadersandhasattr(headers, "getheader") and (headers.getheader(HTTP_HEADER.CONTENT_ENCODING, "").lower() in ("gzip", "deflate") or"text"notinheaders.getheader(HTTP_HEADER.CONTENT_TYPE, "").lower()):
0 commit comments