RedirectOptions interface

Options for how redirect responses are handled.

Properties

handleRedirects

When true, redirect responses are followed. Defaults to true.

maxRetries

The maximum number of times the redirect URL will be tried before failing. Defaults to 20.

Property Details

handleRedirects

When true, redirect responses are followed. Defaults to true.

handleRedirects: boolean

Property Value

boolean

maxRetries

The maximum number of times the redirect URL will be tried before failing. Defaults to 20.

maxRetries?: number

Property Value

number