summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-04-09 23:54:05 +0100
committerGitHub <noreply@github.com>2018-04-09 23:54:05 +0100
commit87478c5a6007b2a21933c1200f2741b6f3d0df3e (patch)
tree06221bbafb5a936ea7c19d7ae856b93a7ce3ff2e /synapse/app
parentMerge pull request #3073 from NotAFile/use-six-reraise (diff)
parentAdd b prefixes to some strings that are bytes in py3 (diff)
downloadsynapse-87478c5a6007b2a21933c1200f2741b6f3d0df3e.tar.xz
Merge pull request #3061 from NotAFile/add-some-byte-strings
Add b prefixes to some strings that are bytes in py3
Diffstat (limited to 'synapse/app')
-rw-r--r--synapse/app/frontend_proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/frontend_proxy.py b/synapse/app/frontend_proxy.py
index de889357c3..b349e3e3ce 100644
--- a/synapse/app/frontend_proxy.py
+++ b/synapse/app/frontend_proxy.py
@@ -90,7 +90,7 @@ class KeyUploadServlet(RestServlet):
             # They're actually trying to upload something, proxy to main synapse.
             # Pass through the auth headers, if any, in case the access token
             # is there.
-            auth_headers = request.requestHeaders.getRawHeaders("Authorization", [])
+            auth_headers = request.requestHeaders.getRawHeaders(b"Authorization", [])
             headers = {
                 "Authorization": auth_headers,
             }