mirror of
https://github.com/django/daphne.git
synced 2024-11-25 09:13:44 +03:00
Fix header to look for
This commit is contained in:
parent
5a451ab06a
commit
cdafec588c
|
@ -117,7 +117,7 @@ class WebRequest(http.Request):
|
||||||
if b"_" in name:
|
if b"_" in name:
|
||||||
continue
|
continue
|
||||||
for value in values:
|
for value in values:
|
||||||
if name.lower() == "asgi_root_path":
|
if name.lower() == "daphne_root_path":
|
||||||
self.root_path = self.unquote(value)
|
self.root_path = self.unquote(value)
|
||||||
else:
|
else:
|
||||||
self.clean_headers.append((name.lower(), value))
|
self.clean_headers.append((name.lower(), value))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user