mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Ensure maxRedirects is used for any http request defining it (#8706)
This commit is contained in:
committed by
GitHub
parent
8c4a744c56
commit
246c988b93
@@ -552,15 +552,21 @@ export interface IRequestOptions {
|
||||
json?: boolean;
|
||||
useStream?: boolean;
|
||||
encoding?: string | null;
|
||||
followRedirect?: boolean;
|
||||
followAllRedirects?: boolean;
|
||||
timeout?: number;
|
||||
rejectUnauthorized?: boolean;
|
||||
proxy?: string | AxiosProxyConfig;
|
||||
simple?: boolean;
|
||||
gzip?: boolean;
|
||||
maxRedirects?: number;
|
||||
resolveWithFullResponse?: boolean;
|
||||
|
||||
/** Whether to follow GET or HEAD HTTP 3xx redirects @default true */
|
||||
followRedirect?: boolean;
|
||||
|
||||
/** Whether to follow **All** HTTP 3xx redirects @default false */
|
||||
followAllRedirects?: boolean;
|
||||
|
||||
/** Max number of redirects to follow @default 21 */
|
||||
maxRedirects?: number;
|
||||
}
|
||||
|
||||
export interface PaginationOptions {
|
||||
|
||||
Reference in New Issue
Block a user