Skip to content

Commit d761067

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "have wsgi preauth copy over HTTP_HOST"
2 parents eba080a + 20384f1 commit d761067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/common/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def make_pre_authed_env(env, method=None, path=None, agent='Swift',
320320
:returns: Fresh WSGI environment.
321321
"""
322322
newenv = {}
323-
for name in ('eventlet.posthooks', 'HTTP_USER_AGENT',
323+
for name in ('eventlet.posthooks', 'HTTP_USER_AGENT', 'HTTP_HOST',
324324
'PATH_INFO', 'QUERY_STRING', 'REMOTE_USER', 'REQUEST_METHOD',
325325
'SERVER_NAME', 'SERVER_PORT', 'SERVER_PROTOCOL',
326326
'swift.cache', 'swift.source', 'swift.trans_id'):

0 commit comments

Comments
 (0)