summaryrefslogtreecommitdiff
path: root/swift/common/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'swift/common/wsgi.py')
-rw-r--r--swift/common/wsgi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/swift/common/wsgi.py b/swift/common/wsgi.py
index 8d1978e94..279eb004d 100644
--- a/swift/common/wsgi.py
+++ b/swift/common/wsgi.py
@@ -204,6 +204,7 @@ def make_pre_authed_request(env, method, path, body=None, headers=None,
:param headers: Extra HTTP headers of new request; None by default
:returns: webob.Request object
+
(Stolen from Swauth: https://github.com/gholt/swauth)
"""
newenv = {'REQUEST_METHOD': method, 'HTTP_USER_AGENT': agent}