Skip to content

Commit ba34ef2

Browse files
committed
Merge remote-tracking branch 'origin/feature/httpclient_multiple_baseuri' into feature/httpclient_multiple_baseuri
2 parents f13c7bb + 72d221b commit ba34ef2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

http_client.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,11 @@ The ``RetryableHttpClient`` uses a
731731
decide if the request should be retried, and to define the waiting time between
732732
each retry.
733733

734+
<<<<<<< HEAD
734735
Retry over different URIs
736+
=======
737+
Retry Over Different URIs
738+
>>>>>>> origin/feature/httpclient_multiple_baseuri
735739
.........................
736740

737741
.. versionadded:: 6.3
@@ -747,13 +751,13 @@ request::
747751
'base_uri' => [
748752
// first request will use this base URI
749753
'http://example.com/a/',
750-
// if first request fails, this second base URI will be used
754+
// if first request fails, the following base URI will be used
751755
'http://example.com/b/',
752756
],
753757
]);
754758

755759
When the number of retries is higher than the number of base URIs, the
756-
last base URI will be used for remaining retries.
760+
last base URI will be used for the remaining retries.
757761

758762
If you want to shuffle the order of base URIs for each retry attempt, nest the
759763
base URIs you want to shuffle in an additional array::

0 commit comments

Comments
 (0)