RAW_URI is full uri (query etc.), not just path

This commit is contained in:
Randall Leeds 2010-07-26 03:58:42 +08:00 committed by Benoit Chesneau
parent 19ab06c814
commit 800637c192

View File

@ -96,7 +96,7 @@ def create(req, sock, client, server, cfg):
"REQUEST_METHOD": req.method,
"PATH_INFO": unquote(path_info),
"QUERY_STRING": req.query,
"RAW_URI": req.path,
"RAW_URI": req.uri,
"CONTENT_TYPE": content_type,
"CONTENT_LENGTH": content_length,
"REMOTE_ADDR": remote[0],