mirror of
https://github.com/django/daphne.git
synced 2024-11-11 02:26:35 +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:
|
||||
continue
|
||||
for value in values:
|
||||
if name.lower() == "asgi_root_path":
|
||||
if name.lower() == "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