mirror of
https://github.com/django/daphne.git
synced 2025-07-13 01:12:17 +03:00
not required
This commit is contained in:
parent
da7cb9eb0a
commit
8497b081a7
|
@ -11,7 +11,7 @@ def encode_request(request):
|
||||||
"GET": list(request.GET.items()),
|
"GET": list(request.GET.items()),
|
||||||
"POST": list(request.POST.items()),
|
"POST": list(request.POST.items()),
|
||||||
"COOKIES": request.COOKIES,
|
"COOKIES": request.COOKIES,
|
||||||
"META": dict({k: v for k, v in request.META.items() if not k.startswith("wsgi")}),
|
"META": {k: v for k, v in request.META.items() if not k.startswith("wsgi")},
|
||||||
"path": request.path,
|
"path": request.path,
|
||||||
"path_info": request.path_info,
|
"path_info": request.path_info,
|
||||||
"method": request.method,
|
"method": request.method,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user