From 800637c19273542d544eba4efb6e14bcffe735a6 Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Mon, 26 Jul 2010 03:58:42 +0800 Subject: [PATCH] RAW_URI is full uri (query etc.), not just path --- gunicorn/http/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/http/wsgi.py b/gunicorn/http/wsgi.py index dff650bd6..7f55c3773 100644 --- a/gunicorn/http/wsgi.py +++ b/gunicorn/http/wsgi.py @@ -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],