Account for situations where no Content-Length or Transfer-Encoding headers are present in a response. The length of the response.content could still indicate a response was given. The earlier raise_for_status() should catch bad HTTP responses that return content. Closes-bug: #1766660 Change-Id: I6739e26a039a898982f5cdc96d19d6992ed37737
3.2 KiB
3.2 KiB