mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
QUERY_STRING can't be none.
This commit is contained in:
parent
d5f2b5358a
commit
6121ace7e7
@ -93,7 +93,7 @@ def create(req, sock, client, server, debug=False):
|
|||||||
"SERVER_SOFTWARE": SERVER_VERSION,
|
"SERVER_SOFTWARE": SERVER_VERSION,
|
||||||
"REQUEST_METHOD": req.method,
|
"REQUEST_METHOD": req.method,
|
||||||
"PATH_INFO": unquote(path_info),
|
"PATH_INFO": unquote(path_info),
|
||||||
"QUERY_STRING": req.query,
|
"QUERY_STRING": req.query or '',
|
||||||
"RAW_URI": req.path,
|
"RAW_URI": req.path,
|
||||||
"CONTENT_TYPE": content_type,
|
"CONTENT_TYPE": content_type,
|
||||||
"CONTENT_LENGTH": content_length,
|
"CONTENT_LENGTH": content_length,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user