Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit d293a34

Browse files
committed
fix HTTP/1.1 response body length
1 parent 9fa200a commit d293a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/http11/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, code, reason, headers, sock, connection=None,
6363

6464
# Whether we expect a chunked response.
6565
self._chunked = (
66-
b'chunked' in self.headers.get(b'transfer-encoding', [])
66+
b'chunked' in self.headers.get(b'transfer-encoding', [])
6767
)
6868

6969
# When content-length is absent and response is not chunked,

0 commit comments

Comments
 (0)