Dmitriy Mozgovoy
dfe8411c9a
fix(fetch): fixed ERR_NETWORK mapping for Safari browsers; ( #6767 )
2025-04-15 01:52:53 +03:00
Fasoro-Joseph Alexander
fb8eec214c
fix(http-adapter): add allowAbsoluteUrls to path building ( #6810 )
...
Co-authored-by: alex-paystack <alex@paystack.com >
2025-03-07 09:30:30 +02:00
Pavan Welihinda
12b32957f1
fix(http): fixed proxy-from-env module import ( #5222 )
...
Co-authored-by: Pavan Welihinda <pavan@babyjourney.se >
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-11-07 21:12:02 +02:00
Henco Appel
6841d8d18d
fix(http): add support for File objects as payload in http adapter ( #6588 ) ( #6605 )
...
Co-authored-by: Hendrik Appel <happel@europe.altair.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-10-13 20:43:40 +03:00
Taylor Flatt
cc3217a612
fix: updated stream aborted error message to be more clear ( #6615 )
2024-09-28 13:04:22 +02:00
Rishi556
364993f0d8
fix(http): fixed support for IPv6 literal strings in url ( #5731 )
2024-09-01 00:47:25 +03:00
Dmitriy Mozgovoy
d1980854fe
fix(fetch): fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; ( #6584 )
2024-08-31 22:14:23 +03:00
Dmitriy Mozgovoy
df9889b83c
fix(fetch): optimize signals composing logic; ( #6582 )
2024-08-30 21:26:12 +03:00
Jacques Germishuys
085f56861a
fix(fetch): fix content length calculation for FormData payload; ( #6524 )
2024-08-25 20:38:10 +03:00
Antonin Bas
7004707c41
fix(adapter): fix undefined reference to hasBrowserEnv ( #6572 )
2024-08-23 15:23:14 +03:00
Hans Otto Wirtz
550d885eb9
fix(fetch): fix credentials handling in Cloudflare workers ( #6533 )
...
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-08-20 15:23:32 +03:00
Lev Pachmanov
6b6b605eaf
fix(sec): CVE-2024-39338 ( #6539 ) ( #6543 )
...
* fix(sec): cve-2024-39338 (#6539 )
* fix(sec): fix test
2024-08-13 20:43:05 +02:00
Dmitriy Mozgovoy
e3c76fc9bd
fix(adapter): fix progress event emitting; ( #6518 )
2024-08-01 16:59:58 +03:00
prianYu
85d4d0ea0a
fix(fetch): fix withCredentials request config ( #6505 )
2024-08-01 15:26:06 +03:00
Valerii Sidorenko
8966ee7ea6
fix(xhr): return original config on errors from XHR adapter ( #6515 )
2024-07-30 21:38:22 +03:00
Dmitriy Mozgovoy
4f79aef81b
fix(fetch): enhance fetch API detection; ( #6413 )
2024-05-21 17:20:15 +03:00
Dmitriy Mozgovoy
733f15fe5b
fix(fetch): fixed ReferenceError issue when TextEncoder is not available in the environment; ( #6410 )
2024-05-20 16:15:15 +03:00
Dmitriy Mozgovoy
e62099bc8b
fix(fetch): fixed a possible memory leak in the AbortController for the stream response if the ReadableStream is not supported; ( #6406 )
2024-05-19 23:04:40 +03:00
Dmitriy Mozgovoy
870e0a76f6
fix(fetch): fix headers getting from a stream response; ( #6401 )
2024-05-19 01:40:21 +03:00
Dmitriy Mozgovoy
95a3e8e346
fix(fetch): fix & optimize progress capturing for cases when the request data has a nullish value or zero data length ( #6400 )
2024-05-18 18:16:42 +03:00
Dmitriy Mozgovoy
ad3174a351
fix(fetch): capitalize HTTP method names; ( #6395 )
2024-05-18 18:01:01 +03:00
Dmitriy Mozgovoy
bb5f9a5ab7
fix(fetch): treat fetch-related TypeError as an AxiosError.ERR_NETWORK error; ( #6380 )
2024-05-07 21:26:46 +03:00
Dmitriy Mozgovoy
d1d359da34
fix(fetch): fix cases when ReadableStream or Response.body are not available; ( #6377 )
2024-05-03 20:22:11 +03:00
Dmitriy Mozgovoy
a3ff99b59d
feat(adapter): add fetch adapter; ( #6371 )
2024-04-28 22:33:49 +03:00
Aditya Mogili
7320430aef
fix(import): use named export for EventEmitter;
...
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-03-15 18:05:34 +02:00
Zao Soula
a1938ff073
fix: fixed missed dispatchBeforeRedirect argument ( #5778 )
...
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-01-25 00:57:06 +02:00
Dmitriy Mozgovoy
f4f2b039dd
fix(dns): fixed lookup error handling; ( #6175 )
2024-01-05 01:48:07 +02:00
Dmitriy Mozgovoy
cff996779b
feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old withCredentials behavior; ( #6046 )
2023-11-14 15:38:25 +02:00
Dmitriy Mozgovoy
dd465ab22b
fix(formdata): fixed content-type header normalization for non-standard browser environments; ( #6056 )
2023-11-07 22:21:19 +02:00
Dmitriy Mozgovoy
3dc8369e50
fix(platform): fixed emulated browser detection in node.js environment; ( #6055 )
2023-11-07 22:16:15 +02:00
Valentin Panov
96ee232bd3
fix(CSRF): fixed CSRF vulnerability CVE-2023-45857 ( #6028 )
...
Co-authored-by: DigitalBrainJS <robotshara@gmail.com >
2023-10-26 22:54:06 +03:00
Dmitriy Mozgovoy
7d45ab2e2a
chore(tests): fixed tests to pass in node v19 and v20 with keep-alive enabled; ( #6021 )
2023-10-22 18:20:44 +03:00
Dmitriy Mozgovoy
5aaff532a6
fix(dns): fixed lookup function decorator to work properly in node v20; ( #6011 )
2023-10-22 17:12:33 +03:00
Dmitriy Mozgovoy
e4107797a7
fix(adapters): improved adapters loading logic to have clear error messages; ( #5919 )
2023-09-26 19:43:25 +03:00
Dmitriy Mozgovoy
bc9af51b18
fix(formdata): fixed automatic addition of the Content-Type header for FormData in non-browser environments; ( #5917 )
2023-09-25 02:44:30 +03:00
Przemyslaw Motacki
4c89f25196
fix(headers): allow content-encoding header to handle case-insensitive values ( #5890 ) ( #5892 )
2023-09-12 15:23:03 +03:00
Mustafa Ateş Uzun
a989ccdc1a
Change isNaN to Number.isNaN
...
* Change isNaN to Number.isNaN
* == to ===
---------
Co-authored-by: Jay <jasonsaayman@gmail.com >
2023-08-30 20:47:01 +02:00
Dmitriy Mozgovoy
b3e327dcc9
fix(dns): fixed cacheable-lookup integration; ( #5836 )
2023-08-26 18:51:09 +03:00
Dmitriy Mozgovoy
2701911260
feat(dns): added support for a custom lookup function; ( #5339 )
2023-04-26 02:04:59 +03:00
Dmitriy Mozgovoy
bbb61e70cb
fix(formdata): add multipart/form-data content type for FormData payload on custom client environments; ( #5678 )
2023-04-26 00:21:37 +03:00
Dmitriy Mozgovoy
a3b246c9de
fix(http): fixed regression bug when handling synchronous errors inside the adapter; ( #5564 )
2023-02-22 21:50:31 +02:00
Dmitriy Mozgovoy
c19f7bf770
fix(formdata): fixed setting NaN as Content-Length for form payload in some cases; ( #5535 )
2023-02-11 16:34:51 +02:00
Dmitriy Mozgovoy
128d56f4a0
fix(http): treat http://localhost as base URL for relative paths to avoid ERR_INVALID_URL error; ( #5528 )
2023-02-03 19:02:50 +02:00
Dmitriy Mozgovoy
96d336f527
fix(formdata): add hotfix to use the asynchronous API to compute the content-length header value; ( #5521 )
2023-02-02 00:55:05 +02:00
Dmitriy Mozgovoy
6ac574e00a
feat(fomdata): added support for spec-compliant FormData & Blob types; ( #5316 )
2023-01-31 01:10:39 +02:00
ItsNotGoodName
65e8d1e28c
fix(http): add zlib headers if missing ( #5497 )
2023-01-31 00:49:37 +02:00
Dmitriy Mozgovoy
1e58a659ec
fix: fixed Brotli decompression; ( #5353 )
...
test: added decompression tests;
fix: added legacy `x-gzip` & `x-compress` encoding types;
2022-12-07 20:57:02 +02:00
wenzheng
e3d759491c
fix: exception to sending formdata in webworker ( #5139 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-12-01 19:15:23 +02:00
Dmitriy Mozgovoy
9041c7d272
Fixed decompression for responses without Content-Length header ( #5306 )
...
* Fixed decompression for responses without `content-length` header;
* Add Brotli encoding to the `Accept-Encoding` header only if it is supported.
* `content-length` header transformation moved up;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-12-01 16:22:20 +02:00
Ivan Barsukov
786b113a40
fix: removing multiple/trailing/leading whitespaces ( #5022 )
...
* fix: removing multiple/trailing/leading whitespaces
* Reverting changes in the dist directory
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-11-25 15:56:31 +02:00