mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 07:14:57 -04:00
Merge branch 'develop' into rav/pass_site_to_make_request
This commit is contained in:
commit
bebfb9a97b
89 changed files with 147 additions and 120 deletions
|
@ -317,9 +317,7 @@ class RestHelper:
|
|||
path,
|
||||
content=image_data,
|
||||
access_token=tok,
|
||||
)
|
||||
request.requestHeaders.addRawHeader(
|
||||
b"Content-Length", str(image_length).encode("UTF-8")
|
||||
custom_headers=[(b"Content-Length", str(image_length))],
|
||||
)
|
||||
request.render(resource)
|
||||
self.hs.get_reactor().pump([100])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue