aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/language/http.py')
-rw-r--r--pathod/language/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/language/http.py b/pathod/language/http.py
index 4cc7db5f..5bd6e385 100644
--- a/pathod/language/http.py
+++ b/pathod/language/http.py
@@ -209,7 +209,7 @@ class Response(_HTTPMessage):
base.TokValueLiteral(i[1].decode()))
)
if not self.raw:
- if not get_header("Content-Length", self.headers):
+ if not get_header(b"Content-Length", self.headers):
if not self.body:
length = 0
else: