docs: Route.fetch.maxRedirects in java (#20968)

This commit is contained in:
Yury Semikhatsky 2023-02-16 17:02:12 -08:00 committed by GitHub
parent 09be9d6425
commit ba6d055bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -496,8 +496,12 @@ Note that [`option: headers`] option will apply to the fetched request as well a
If set changes the request URL. New URL must have same protocol as original one.
### option: Route.fetch.maxRedirects = %%-js-python-csharp-fetch-option-maxredirects-%%
### option: Route.fetch.maxRedirects
* since: v1.31
- `maxRedirects` <[int]>
Maximum number of request redirects that will be followed automatically. An error will be thrown if the number is exceeded.
Defaults to `20`. Pass `0` to not follow redirects.
### option: Route.fetch.method
* since: v1.29