forked from MirrorHub/synapse
synapse/app: frontend_proxy.py: actually make workers work on py3
This commit is contained in:
parent
fb216a22db
commit
06bc8d2fe5
2 changed files with 3 additions and 2 deletions
|
@ -1 +1,2 @@
|
|||
Synapse now starts on Python 3.7.
|
||||
_All_ workers now start on Python 3.
|
||||
|
|
|
@ -68,7 +68,7 @@ class PresenceStatusStubServlet(ClientV1RestServlet):
|
|||
"Authorization": auth_headers,
|
||||
}
|
||||
result = yield self.http_client.get_json(
|
||||
self.main_uri + request.uri,
|
||||
self.main_uri + request.uri.decode('ascii'),
|
||||
headers=headers,
|
||||
)
|
||||
defer.returnValue((200, result))
|
||||
|
@ -125,7 +125,7 @@ class KeyUploadServlet(RestServlet):
|
|||
"Authorization": auth_headers,
|
||||
}
|
||||
result = yield self.http_client.post_json_get_json(
|
||||
self.main_uri + request.uri,
|
||||
self.main_uri + request.uri.decode('ascii'),
|
||||
body,
|
||||
headers=headers,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue