We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d737f5a commit 0db3f3fCopy full SHA for 0db3f3f
w3lib/http.py
@@ -50,7 +50,7 @@ def headers_raw_to_dict(headers_raw: bytes | None) -> HeadersDictOutput | None:
50
return {}
51
52
headers = iter(BytesIO(headers_raw).readline, b"")
53
- result_dict = {}
+ result_dict: HeadersDictOutput = {}
54
55
for header in headers:
56
key, sep, value = header.partition(b":")
0 commit comments