mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 19:00:21 +00:00
pep8
This commit is contained in:
parent
3e4bc4488c
commit
bf54c1cf6c
1 changed files with 3 additions and 3 deletions
|
@ -268,9 +268,9 @@ class MatrixFederationHttpClient(object):
|
||||||
"""
|
"""
|
||||||
Signs a request by adding an Authorization header to headers_dict
|
Signs a request by adding an Authorization header to headers_dict
|
||||||
Args:
|
Args:
|
||||||
destination (bytes|None): The desination home server of the request. May be None
|
destination (bytes|None): The desination home server of the request.
|
||||||
if the destination is an identity server, in which case destination_is
|
May be None if the destination is an identity server, in which case
|
||||||
must be non-None.
|
destination_is must be non-None.
|
||||||
method (bytes): The HTTP method of the request
|
method (bytes): The HTTP method of the request
|
||||||
url_bytes (bytes): The URI path of the request
|
url_bytes (bytes): The URI path of the request
|
||||||
headers_dict (dict): Dictionary of request headers to append to
|
headers_dict (dict): Dictionary of request headers to append to
|
||||||
|
|
Loading…
Reference in a new issue