diff options
author | David Baker <dave@matrix.org> | 2018-06-06 09:44:10 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-06-06 09:44:10 +0100 |
commit | 3e4bc4488cf044e048935f8dd3bdf8b460aaa55f (patch) | |
tree | 5743734d6fc41f9da30720cb59263578a9e3d900 /synapse/http | |
parent | fix pep8 (diff) | |
download | synapse-3e4bc4488cf044e048935f8dd3bdf8b460aaa55f.tar.xz |
More doc fixes
Diffstat (limited to '')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index 98797c37df..bce7c631b4 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -268,9 +268,9 @@ class MatrixFederationHttpClient(object): """ Signs a request by adding an Authorization header to headers_dict Args: - destination (bytes): The desination home server of the request. May be None + destination (bytes|None): The desination home server of the request. May be None if the destination is an identity server, in which case destination_is - must be non-null. + must be non-None. method (bytes): The HTTP method of the request url_bytes (bytes): The URI path of the request headers_dict (dict): Dictionary of request headers to append to |