- 21 5月, 2021 1 次提交
-
-
由 Daniel Lopretto 提交于
* removed charset setting when setting default header * Remove charset from tests Co-authored-by: Nmpark86 <dev.minuk.park@gmail.com> Co-authored-by: NJay <jasonsaayman@gmail.com> Co-authored-by: NPilot <timemachine@ctrl-c.club>
-
- 18 5月, 2021 1 次提交
-
-
由 Jay 提交于
Thanks to @socketpair for testing and checking this.
-
- 14 5月, 2021 1 次提交
-
-
由 hippo 提交于
close #3448 Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 13 5月, 2021 1 次提交
-
-
由 Jay 提交于
Add open collective to repo
-
- 06 5月, 2021 1 次提交
-
-
由 Philipe Gouveia Paixão 提交于
* Adding parseInt to config.timeout * Fixing test message
-
- 05 5月, 2021 2 次提交
-
-
由 Johannes Jarbratt 提交于
Co-authored-by: NJay <jasonsaayman@gmail.com>
-
由 Mark 提交于
Previously checking whether a response has exceeded `maxContentLength` was quadratic with respect to the number of chunks in the response stream and also caused unnecessary additional memory usage. Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 30 4月, 2021 2 次提交
-
-
由 TagawaHirotaka 提交于
* Updating lib/core/README.md :Dispatching requests * Fixing expression
-
由 Jay 提交于
-
- 20 4月, 2021 2 次提交
-
-
由 Dmitriy Mozgovoy 提交于
* Draft * Added support for primitive types to be converted to JSON if the request Content-Type is 'application/json'; Added throwing SyntaxError if JSON parsing failed and responseType is json; Added transitional option object; Added options validator to assert transitional options; Added transitional option `silentJSONParsing= true` for backward compatibility; Updated README.md; Updated typings; * Fixed isOlderVersion helper; Fixed typo; Added validator.spec.js; * Added forcedJSONParsing transitional option #2791 * `transformData` is now called in the default configuration context if the function context is not specified (for tests compatibility); * Added `transitional.clarifyTimeoutError` to throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts; Added support of onloadend handler if available instead of onreadystatechange; Added xhr timeout test; Fixed potential bug of xhr adapter with proper handling timeouts&errors (FakeXMLHTTPRequest failed to handle timeouts); * Removed unnecessary assertion;
-
由 Dmitriy Mozgovoy 提交于
JSON improvements: throw if JSON parsing failed; number, boolean can be passed directly as payload for encoding to JSON #2613, #61, #907 (#3688) * Draft * Added support for primitive types to be converted to JSON if the request Content-Type is 'application/json'; Added throwing SyntaxError if JSON parsing failed and responseType is json; Added transitional option object; Added options validator to assert transitional options; Added transitional option `silentJSONParsing= true` for backward compatibility; Updated README.md; Updated typings; * Fixed isOlderVersion helper; Fixed typo; Added validator.spec.js; * Added forcedJSONParsing transitional option #2791 * `transformData` is now called in the default configuration context if the function context is not specified (for tests compatibility); * Added `transitional.clarifyTimeoutError` to throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts; Added support of onloadend handler if available instead of onreadystatechange; Added xhr timeout test; Fixed potential bug of xhr adapter with proper handling timeouts&errors (FakeXMLHTTPRequest failed to handle timeouts);
-
- 01 4月, 2021 1 次提交
-
-
由 Jay 提交于
* [Updated] karma sauce launcher which should fix suace tests that are no longer showing as passed and rather completed * [Updated] karma config to follow es-lint rules of axios * [Updated] karma version to latest * [Added] propper browsers when testing local
-
- 30 3月, 2021 1 次提交
-
-
由 Jay 提交于
[Updated] karma sauce launcher which should fix suace tests that are no longer showing as passed and rather completed (#3712)
-
- 29 3月, 2021 2 次提交
-
-
由 Mike Bishop 提交于
* Adding ability to omit User-Agent header * Update line to be more compact * Add unit tests for user-agent cases Co-authored-by: NJay <jasonsaayman@gmail.com>
-
由 Jay 提交于
-
- 24 3月, 2021 1 次提交
-
-
由 Daniel Lopretto 提交于
- Tests for transformResponse - Remove eslint error by renaming the var - Test that there data a length to avoid JSON.parse headache - Use `util.isString()` over `typeof` Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 23 3月, 2021 1 次提交
-
-
由 Jay 提交于
I have updated the version of follow redirects to see if this will fix a potential memory leak that has been noted by a couple users. This is also being updated to see if it will pass building.
-
- 15 3月, 2021 1 次提交
-
-
https://axios-http.com由 Jake 提交于
-
- 01 3月, 2021 1 次提交
-
-
由 Sasha Korotkov 提交于
* issue#2609 | Sasha | predictable axios requests - axios requests are not delayed by pre-emptive promise creation by default - add options to interceptors api ("synchronous" and "runWhen") - add documentation and unit tests * issue#2609 | Sasha | pull request feedback changes * issue#2609 | Sasha | additional feedback changes * issue#2609 | Sasha | put back try/catch * issue#2609 | Sasha | add 2 adapter unit tests - remove check for requestCancelled Co-authored-by: Nak71845 <alexandre.korotkov@kroger.com> Co-authored-by: NXianming Zhong <chinesedfan@qq.com> Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 17 2月, 2021 1 次提交
-
-
由 Nisar Hassan Naqvi 提交于
Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 15 2月, 2021 1 次提交
-
-
由 Ryota Ikezawa 提交于
-
- 06 2月, 2021 1 次提交
-
-
由 caikan 提交于
Co-authored-by: NXianming Zhong <chinesedfan@qq.com>
-
- 05 2月, 2021 1 次提交
-
-
由 Elina Gorshkova 提交于
Fixed typos and grammatical errors. Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 01 2月, 2021 1 次提交
-
-
由 Xianming Zhong 提交于
* Updating changelog for 0.21.1 release * Releasing 0.21.1 Co-authored-by: NEmily Morehouse <emily@cuttlesoft.com>
-
- 29 1月, 2021 1 次提交
-
-
由 Xianming Zhong 提交于
Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 12 1月, 2021 1 次提交
-
-
由 Ali Clark 提交于
* Updating the 'Global axios defaults' README to use a safer example The existing example usage it isn't safe in the general case as it can lead to auth tokens being leaked to 3rd party endpoints by unexpectedly. This change instead gives an example using "axios.defaults.headers.common" to set the User-Agent, which is an equally helpful use-case to document. The 'Custom instance defaults' example just below the 'Global axios defaults' example shows a method to set the 'Authorization' header specific to a given API. I've also updated the variable in the 'Custom instance defaults' code to use a semantically more relevant name within that example. * Revert the example instance name in response to PR request * Reintroduce the Authorization example with a disclaimer about its usage * Update wording nb -> important on usage comment * Remove User-Agent example due to issues with this on Chrome and Safari See https://github.com/axios/axios/issues/1231 Credit @chinesedfan for pointing this out
-
- 16 12月, 2020 1 次提交
-
-
由 Daniel Lopretto 提交于
- Everything still works as expected. - Remove bundlesize - It still uses libtorb which is deprecated and broken on Win and requires a full suite of build tools on Mac. Keeping it in the package makes it difficult for anyone filing issues to run tests. - See: #3396 - Update grunt and it's plugins - Update karma to v4...so much faster! - Changed the karma config. Better changes: #3394 - Update Webpack - Uses terser over uglify - Update eslint - Caused an error in util.js from the `global` directive so the directive is removed (it was not needed). - Update typescript - The old version of tsc didn't know about new features in @types/node (like `asserts value`). Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 09 12月, 2020 1 次提交
-
-
由 Daniel Lopretto 提交于
* Remove the skipping of the `socket` http test * Use different socket path for Win32 - See: https://github.com/nodejs/node-v0.x-archive/blob/master/test/simple/test-pipe-stream.js#L73 - Also: https://github.com/nodejs/node-v0.x-archive/blob/master/test/common.js#L39 * Updating axios in types to be lower case (#2797) Co-authored-by: NXianming Zhong <chinesedfan@qq.com> Co-authored-by: NPilot <timemachine@ctrl-c.club> Co-authored-by: NRemco Haszing <remcohaszing@gmail.com> Co-authored-by: NXianming Zhong <chinesedfan@qq.com> Co-authored-by: NJay <jasonsaayman@gmail.com>
-
- 03 12月, 2020 1 次提交
-
-
由 Jonathan Foster 提交于
* Fixing proxy protocol config when parsed from env vars * Adding instructions to specify proxy protocol when setting proxy config * Moved HTTPS proxy config instruction closer to example * Clear https_proxy env var so as to not impact other tests
-
- 24 11月, 2020 1 次提交
-
-
由 Daniel Lopretto 提交于
* Reproducing the Vulnerability * Prevent SSRF * Cleanup * Refactor to skip duplicate code * Tests for correct passed data. * Code review changes.
-
- 03 11月, 2020 1 次提交
-
-
由 Jason Kwok 提交于
Co-authored-by: NJason Kwok <JasonHK@users.noreply.github.com>
-
- 30 10月, 2020 1 次提交
-
-
由 Daniel Lopretto 提交于
Co-authored-by: NPilot <timemachine@ctrl-c.club>
-
- 27 10月, 2020 1 次提交
-
-
由 Remco Haszing 提交于
Co-authored-by: NXianming Zhong <chinesedfan@qq.com>
-
- 24 10月, 2020 2 次提交
-
-
由 Emily Morehouse 提交于
-
由 Emily Morehouse 提交于
-
- 23 10月, 2020 1 次提交
-
-
由 Jay 提交于
I have made this change due to current builds failing. We should not be testing in node v15 as you can see on this graph https://nodejs.org/en/about/releases/ 10 till 14 should be fine till 2023 and v15 is not LTS so should be excluded for now.
-
- 20 10月, 2020 1 次提交
-
-
由 Taemin Shin 提交于
Fixing an issue that type 'null' and 'undefined' is not assignable to validateStatus when typescript strict option is enabled (#3200)
-
- 13 10月, 2020 1 次提交
-
-
由 George Cheng 提交于
This reverts commit f3cc053f.
-
- 04 10月, 2020 1 次提交
-
-
由 Kevin Kirsche 提交于
Fix typos
-
- 01 10月, 2020 1 次提交
-
-
由 Xianming Zhong 提交于
Co-authored-by: NJay <jasonsaayman@gmail.com>
-