mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Stop passing bytes when dumping JSON (#7799)
This commit is contained in:
parent
e0c0129693
commit
ff0680f69d
4 changed files with 11 additions and 6 deletions
|
@ -251,10 +251,10 @@ class IdentityHandler(BaseHandler):
|
|||
# 'browser-like' HTTPS.
|
||||
auth_headers = self.federation_http_client.build_auth_headers(
|
||||
destination=None,
|
||||
method="POST",
|
||||
method=b"POST",
|
||||
url_bytes=url_bytes,
|
||||
content=content,
|
||||
destination_is=id_server,
|
||||
destination_is=id_server.encode("ascii"),
|
||||
)
|
||||
headers = {b"Authorization": auth_headers}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue