Fix typos and spelling errors. (#8639)

This commit is contained in:
Patrick Cloke 2020-10-23 12:38:40 -04:00 committed by GitHub
parent c850dd9a8e
commit 34a5696f93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 63 additions and 60 deletions

View file

@ -587,7 +587,7 @@ class MatrixFederationHttpClient:
"""
Builds the Authorization headers for a federation request
Args:
destination (bytes|None): The desination homeserver of the request.
destination (bytes|None): The destination homeserver of the request.
May be None if the destination is an identity server, in which case
destination_is must be non-None.
method (bytes): The HTTP method of the request
@ -640,7 +640,7 @@ class MatrixFederationHttpClient:
backoff_on_404=False,
try_trailing_slash_on_400=False,
):
""" Sends the specifed json data using PUT
""" Sends the specified json data using PUT
Args:
destination (str): The remote server to send the HTTP request
@ -729,7 +729,7 @@ class MatrixFederationHttpClient:
ignore_backoff=False,
args={},
):
""" Sends the specifed json data using POST
""" Sends the specified json data using POST
Args:
destination (str): The remote server to send the HTTP request