mirror of
https://github.com/django/daphne.git
synced 2025-07-10 08:02:16 +03:00
Fix request GET/POST format
This commit is contained in:
parent
5264e7a416
commit
feb3017c0e
|
@ -8,8 +8,8 @@ def encode_request(request):
|
|||
"""
|
||||
# TODO: More stuff
|
||||
value = {
|
||||
"GET": list(request.GET.items()),
|
||||
"POST": list(request.POST.items()),
|
||||
"GET": list(request.GET.lists()),
|
||||
"POST": list(request.POST.lists()),
|
||||
"COOKIES": request.COOKIES,
|
||||
"META": {k: v for k, v in request.META.items() if not k.startswith("wsgi")},
|
||||
"path": request.path,
|
||||
|
|
Loading…
Reference in New Issue
Block a user