Fix fetch (#1671)
* Fix fetch Fix timeout in fetch. Fix errors when response answer has a status code that don't have a body. Fix FetchOptions missing timeout property. * Fix fetch Fix FetchOptions missing timeout property
This commit is contained in:
@@ -12,6 +12,7 @@ const redirectCodes = new Set([301, 302, 307, 308]);
|
||||
* @property {number} [maxRedirects] - Maximum amount of redirects to be followed.
|
||||
* @property {AbortSignal} [signal] - Signal to abruptly cancel the request
|
||||
* @property {Uint8Array | string} [body] - Defines a request body. Data must be serializable.
|
||||
* @property {number} [timeout] - Request timeout time.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user