mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 07:04:13 -04:00
Add b prefixes to some strings that are bytes in py3
This has no effect on python2 Signed-off-by: Adrian Tschira <nota@notafile.com>
This commit is contained in:
parent
8da39ad98f
commit
6168351877
6 changed files with 14 additions and 14 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue