Created
March 6, 2017 21:37
-
-
Save clayg/7e34254b9da22713d46f112f178119be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/swift/common/wsgi.py b/swift/common/wsgi.py | |
index 4432f32..9ed1618 100644 | |
--- a/swift/common/wsgi.py | |
+++ b/swift/common/wsgi.py | |
@@ -1111,8 +1111,7 @@ def make_env(env, method=None, path=None, agent='Swift', query_string=None, | |
'SERVER_PROTOCOL', 'swift.cache', 'swift.source', | |
'swift.trans_id', 'swift.authorize_override', | |
'swift.authorize', 'HTTP_X_USER_ID', 'HTTP_X_PROJECT_ID', | |
- 'HTTP_REFERER', 'swift.orig_req_method', 'swift.log_info', | |
- 'swift.infocache'): | |
+ 'HTTP_REFERER', 'swift.log_info', 'swift.infocache'): | |
if name in env: | |
newenv[name] = env[name] | |
if method: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment