@@ -440,7 +440,7 @@ async def _send_request(
440
440
Args:
441
441
request: details of request to be sent
442
442
443
- retry_on_dns_fail: true if the request should be retied on DNS failures
443
+ retry_on_dns_fail: true if the request should be retried on DNS failures
444
444
445
445
timeout: number of milliseconds to wait for the response headers
446
446
(including connecting to the server), *for each attempt*.
@@ -475,7 +475,7 @@ async def _send_request(
475
475
(except 429).
476
476
NotRetryingDestination: If we are not yet ready to retry this
477
477
server.
478
- FederationDeniedError: If this destination is not on our
478
+ FederationDeniedError: If this destination is not on our
479
479
federation whitelist
480
480
RequestSendFailed: If there were problems connecting to the
481
481
remote, due to e.g. DNS failures, connection timeouts etc.
@@ -871,7 +871,7 @@ async def put_json(
871
871
(except 429).
872
872
NotRetryingDestination: If we are not yet ready to retry this
873
873
server.
874
- FederationDeniedError: If this destination is not on our
874
+ FederationDeniedError: If this destination is not on our
875
875
federation whitelist
876
876
RequestSendFailed: If there were problems connecting to the
877
877
remote, due to e.g. DNS failures, connection timeouts etc.
@@ -958,7 +958,7 @@ async def post_json(
958
958
(except 429).
959
959
NotRetryingDestination: If we are not yet ready to retry this
960
960
server.
961
- FederationDeniedError: If this destination is not on our
961
+ FederationDeniedError: If this destination is not on our
962
962
federation whitelist
963
963
RequestSendFailed: If there were problems connecting to the
964
964
remote, due to e.g. DNS failures, connection timeouts etc.
@@ -1036,6 +1036,8 @@ async def get_json(
1036
1036
args: A dictionary used to create query strings, defaults to
1037
1037
None.
1038
1038
1039
+ retry_on_dns_fail: true if the request should be retried on DNS failures
1040
+
1039
1041
timeout: number of milliseconds to wait for the response.
1040
1042
self._default_timeout (60s) by default.
1041
1043
@@ -1063,7 +1065,7 @@ async def get_json(
1063
1065
(except 429).
1064
1066
NotRetryingDestination: If we are not yet ready to retry this
1065
1067
server.
1066
- FederationDeniedError: If this destination is not on our
1068
+ FederationDeniedError: If this destination is not on our
1067
1069
federation whitelist
1068
1070
RequestSendFailed: If there were problems connecting to the
1069
1071
remote, due to e.g. DNS failures, connection timeouts etc.
@@ -1141,7 +1143,7 @@ async def delete_json(
1141
1143
(except 429).
1142
1144
NotRetryingDestination: If we are not yet ready to retry this
1143
1145
server.
1144
- FederationDeniedError: If this destination is not on our
1146
+ FederationDeniedError: If this destination is not on our
1145
1147
federation whitelist
1146
1148
RequestSendFailed: If there were problems connecting to the
1147
1149
remote, due to e.g. DNS failures, connection timeouts etc.
@@ -1197,7 +1199,7 @@ async def get_file(
1197
1199
(except 429).
1198
1200
NotRetryingDestination: If we are not yet ready to retry this
1199
1201
server.
1200
- FederationDeniedError: If this destination is not on our
1202
+ FederationDeniedError: If this destination is not on our
1201
1203
federation whitelist
1202
1204
RequestSendFailed: If there were problems connecting to the
1203
1205
remote, due to e.g. DNS failures, connection timeouts etc.
0 commit comments