Add HTTPResponse.fp as io.BufferedReader (#6324)

See https://github.com/python/cpython/blob/da20d7401de97b425897d3069f71f77b039eb16f/Lib/http/client.py#L256
This commit is contained in:
László Károlyi
2021-11-19 13:16:48 +00:00
committed by GitHub
parent 42fa8434f0
commit 1fcb613338
+1
View File
@@ -83,6 +83,7 @@ class HTTPResponse(io.BufferedIOBase, BinaryIO):
headers: HTTPMessage
version: int
debuglevel: int
fp: io.BufferedReader
closed: bool
status: int
reason: str