Skip to content

v1.021 Exception in HTTP response re-managed

Compare
Choose a tag to compare
@metalbobinou metalbobinou released this 10 Aug 17:54
· 4 commits to main since this release
4e9c0ef

An exception that was happening... still happens.

Now it should be corrected (but still, it's impossible to reproduce) thanks to the http.client.IncompleteRead exception.

Here was the trace :

    data = response.read()
  File "/usr/lib/python3.10/http/client.py", line 460, in read
    return self._read_chunked(amt)
  File "/usr/lib/python3.10/http/client.py", line 598, in _read_chunked
    raise IncompleteRead(b''.join(value))
http.client.IncompleteRead: IncompleteRead(0 bytes read)