* 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:
2023-11-03 23:06:52 +03:00
parent 26f3e86877
commit 82cf49191b
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -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.
*/
/**