Record -
http
: FollowRedirects
Provides configurations for controlling the endpoint's behaviour in response to HTTP redirect related responses. The response status codes of 301, 302, and 303 are redirected using a GET request while 300, 305, 307, and 308 status codes use the original request HTTP method during redirection.
Fields
- enabled boolean (default false)
-
Enable/disable redirection
- maxCount int (default 5)
-
Maximum number of redirects to follow
- allowAuthHeaders boolean (default false)
-
By default Authorization and Proxy-Authorization headers are removed from the redirect requests. Set it to true if Auth headers are needed to be sent during the redirection