Open stop777 opened 11 years ago
Also commit 0bb00b1, fixes situation when server returns HTTP Status header twice. Example http://cox.com - returns ('HTTP/1.1', '301', 'Moved Permanently'), then ('HTTP/1.1', '200', 'OK'). This causes exception
File "human_curl/core.py", line 781, in _parse_headers_raw
self._headers = CaseInsensitiveDict(last_header[1:])
File "human_curl/utils.py", line 104, in __init__
tmp_d = dict(*args, **kwargs)
А чего c pool cleanup?
Может этот request зарубить?
вместо 0bb00b1, сделал другой фикс. В отдельном реквесте https://github.com/Lispython/human_curl/pull/25
There was an Exception when calling AsyncClient.get after AsyncClient.start finished first time