mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 15:30:21 +00:00
fix pep8
This commit is contained in:
parent
d62162bbec
commit
607bd27c83
1 changed files with 5 additions and 3 deletions
|
@ -268,13 +268,15 @@ 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): The desination home server of the request. May be None if the
|
destination (bytes): The desination home server of the request. May be None
|
||||||
destination is an identity server, in which case destination_is must be non-null.
|
if the destination is an identity server, in which case destination_is
|
||||||
|
must be non-null.
|
||||||
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
|
||||||
content (bytes): The body of the request
|
content (bytes): The body of the request
|
||||||
destination_is (bytes): As 'destination', but if the destination is an identity server
|
destination_is (bytes): As 'destination', but if the destination is an
|
||||||
|
identity server
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
None
|
None
|
||||||
|
|
Loading…
Reference in a new issue