mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
Fix python 3 header grabbing
This commit is contained in:
parent
0ebfea94a8
commit
0942b382ce
|
@ -117,7 +117,7 @@ class WebRequest(http.Request):
|
|||
if b"_" in name:
|
||||
continue
|
||||
for value in values:
|
||||
if name.lower() == "daphne-root-path":
|
||||
if name.lower() == b"daphne-root-path":
|
||||
self.root_path = self.unquote(value)
|
||||
else:
|
||||
self.clean_headers.append((name.lower(), value))
|
||||
|
|
Loading…
Reference in New Issue
Block a user