Also read query string params in parse body (#477)

This commit is contained in:
Cosmin Stejerean 2023-01-28 09:05:28 -08:00 committed by GitHub
parent a22ba4859b
commit 9779f867bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -17,4 +17,6 @@ class FormOrJsonParser(Parser):
value = {}
for key, item in request.POST.items():
value[key] = item
for key, item in request.GET.items():
value[key] = item
return value