Requests报错:requests.exceptions.ChunkedEncodingError
File "xxxxxx\venvs\lib\site-packages\requests\models.py", line 832, in content
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
File "xxxxxx\venvs\lib\site-packages\requests\models.py", line 757, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
修改源码(venvs\lib\site-packages\requests\models.py):
我这里是757行,注释raise,补一个pass