mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 10:54:00 +01:00
doc fixes
This commit is contained in:
parent
c5930d513a
commit
d62162bbec
2 changed files with 7 additions and 7 deletions
|
@ -149,7 +149,7 @@ class IdentityHandler(BaseHandler):
|
||||||
threepid (dict): Dict with medium & address of binding to be removed
|
threepid (dict): Dict with medium & address of binding to be removed
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
Deferred
|
Deferred[bool]: True on success, otherwise False
|
||||||
"""
|
"""
|
||||||
logger.debug("unbinding threepid %r from %s", threepid, mxid)
|
logger.debug("unbinding threepid %r from %s", threepid, mxid)
|
||||||
if not self.trusted_id_servers:
|
if not self.trusted_id_servers:
|
||||||
|
|
|
@ -268,16 +268,16 @@ 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 (str): The desination home server of the request. May be null if the
|
destination (bytes): 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.
|
destination is an identity server, in which case destination_is must be non-null.
|
||||||
method (str): The HTTP method of the request
|
method (bytes): The HTTP method of the request
|
||||||
url_bytes (str): ?
|
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 (str): The body of the request
|
content (bytes): The body of the request
|
||||||
destination_is (str): 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:
|
||||||
Deferred
|
None
|
||||||
"""
|
"""
|
||||||
request = {
|
request = {
|
||||||
"method": method,
|
"method": method,
|
||||||
|
|
Loading…
Reference in a new issue