2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-24 14:04:14 +03:00
Commit Graph

718 Commits

Author SHA1 Message Date
Tim Garthwaite bbfa7bfacc Fixing maxBodyLength exceeded error form follow-redirects when axios's maxContentLength is not exceeded 2018-01-11 08:55:02 -05:00
Nick Uraltsev 6e605016f0 Merge pull request #1272 from aaronang/github-templates
Fix Markdown formatting for issue and pull request template
2018-01-08 08:29:53 -08:00
Aaron Ang 7ee6ec5a84 Fix Markdown formatting for issue and pull request template
[skip ci]
2018-01-06 22:43:43 -08:00
Nick Uraltsev db44a8f316 Merge pull request #1254 from evanshortiss/ts-instance-fix
Fixing type definitions so AxiosInstance can be invoked
2018-01-06 15:15:48 -08:00
Nick Uraltsev 84a00b2227 Merge pull request #1192 from punit-gupta01/master
Fixing interface of axios instance
2018-01-06 15:13:57 -08:00
Nick Uraltsev ae218d0131 Merge pull request #1198 from liutao/patch-1
Update buildURL.js
2018-01-05 08:33:57 -08:00
Nick Uraltsev 8be4d65cdd Merge pull request #1264 from m1guelpf-forks/patch-1
Update license date
2018-01-05 08:30:15 -08:00
Miguel Piedrafita 145b63e8e6 Update license date 2018-01-01 00:57:34 +01:00
Punit Gupta 521a429f2d fix(index.d.ts): Remove redundant types 2017-12-21 15:24:34 +05:30
Evan Shortiss d07e648c30 Fixing type definitions so AxiosInstance can be invoked 2017-12-20 21:45:48 -08:00
刘涛 a1e895d670 Update buildURL.js
Two if statements is unnecessary, we can replace with "if ... else ..."
2017-11-23 16:22:55 +08:00
Punit Gupta 423923217e Fixing interface of axios instance 2017-11-20 21:53:47 +05:30
Nick Uraltsev d7f021b8d4 Merge pull request #1177 from dhcmrlchtdj/fix-typing
Fixing typing issues #1154 #1147
2017-11-11 21:28:23 -08:00
niris f0293696e7 Fixing typing issues #1154 #1147 2017-11-12 12:30:02 +08:00
Nick Uraltsev ad1195f070 Releasing 0.17.1 2017-11-11 15:24:16 -08:00
Nick Uraltsev 599eb9890c Updating changelog 2017-11-11 15:22:47 -08:00
Nick Uraltsev 587f0210ce Updating changelog 2017-11-11 15:21:46 -08:00
Nick Uraltsev b7d8d126da Removing unnecessary condition 2017-11-11 15:09:02 -08:00
Nick Uraltsev 1fa01fd674 Merge pull request #1160 from owap/undefined-window
Move window defined check before window.XMLHttpRequest check
2017-11-11 14:14:20 -08:00
Nick Uraltsev 026db2140d Merge pull request #1165 from psachs21/patch-1
Updating typings
2017-11-11 12:20:54 -08:00
Nick Uraltsev 7ea8f3d9f7 Merge pull request #1173 from posva/patch-1
security: upgrade follow-redirects
2017-11-11 12:09:40 -08:00
Eduardo San Martin Morote 1e58b69df1 security: upgrade follow-redirects
This would prevent tools like nsp to complain about a security issue from axios. It's something that got fixed in the package debug, and in order to benefit from that fix, it's necessary to upgrade to at least follow-redirects@1.2.5
2017-11-07 18:00:42 +01:00
Paul Sachs 1005e3bf14 Updating typings
The first argument in `axios.interceptors.response.use` is optional, in the case that you just want to intercept an error.

Ex:

```ts
axios.interceptors.response.use(undefined, error => {
...
});
```
2017-11-03 11:57:12 -04:00
Andrew J. Pierce 468e90993d Move window defined check before window.XMLHttpRequest check 2017-11-02 18:57:12 -04:00
Nick Uraltsev 1ee5494038 Merge pull request #1156 from clarkdo/master
refactor: !isArray(obj) is always true
2017-11-01 09:38:39 -07:00
Clark Du 63548c00c0 refactor: !isArray(obj) is always true 2017-11-01 15:47:58 +08:00
Nick Uraltsev fbb5d4d0d1 Merge pull request #1080 from MarshallOfSound/patch-1
Allow overriding the used transport
2017-10-24 07:58:13 -07:00
Nick Uraltsev 8bea343f3d Merge pull request #1125 from keenondrums/master
Update AxiosTransformer type in index.d.ts
2017-10-24 07:51:08 -07:00
Nick Uraltsev 3f90738f48 Merge pull request #1131 from jmmk/axios-response-request
Add request field to AxiosResponse type definition
2017-10-24 07:47:16 -07:00
Nick Uraltsev 2c0e318321 Releasing 0.17.0 2017-10-21 11:00:45 -07:00
Nick Uraltsev c24b1cc5de Updating changelog 2017-10-21 10:57:53 -07:00
Nick Uraltsev add023c25c Update build status badge URL 2017-10-20 08:02:01 -07:00
Nick Uraltsev ada06d1522 Merge branch 'master' of github.com:axios/axios 2017-10-20 07:31:26 -07:00
Nick Uraltsev 94f1e21ba3 Fix SauceLabs config 2017-10-20 07:31:15 -07:00
Nick Uraltsev 7133141cb9 Merge pull request #1061 from d-fischer/ts-generic-response
Update TypeScript typings with generic type parameters
2017-10-20 07:16:23 -07:00
Nick Uraltsev 638804aa2c Merge pull request #1135 from kuitos/master
Adding axios-extensions to the ecosystem
2017-10-17 21:22:42 -07:00
Kuitos f06ee7390f Adding axios-extensions to the ecosystem 2017-10-18 11:26:49 +08:00
Michael McLellan 48ece5adbd Add request field to AxiosResponse type 2017-10-14 23:25:37 -04:00
Andrei Goncharov 1f333ca645 Update index.d.ts 2017-10-11 15:12:51 -06:00
Nick Uraltsev 26b06391f8 Update links 2017-09-28 21:09:47 -07:00
Nick Uraltsev 17e44c8ec9 Merge pull request #982 from ibci/use-XMLHttpRequest-for-IE10+
Use XMLHttpRequest in IE10+ instead of XDomainRequest
2017-09-27 21:22:09 -07:00
Nick Uraltsev 51b3ad6526 Merge pull request #987 from siddharthkp/master
Add bundlesize to test
2017-09-27 20:53:40 -07:00
Nick Uraltsev ab974a708d Merge pull request #1055 from fridzema/patch-1
Tiny fix
2017-09-27 20:51:51 -07:00
Nick Uraltsev 7f60dd8441 Merge pull request #1056 from jin5354/patch-1
Update ECOSYSTEM.md
2017-09-27 20:50:53 -07:00
Samuel Attard b01ce193a5 Allow overriding the used transport
This allows users of axios inside `electron` to provide the [`net`](https://electron.atom.io/docs/api/net/) module as the http transport instead of using nodes http/https modules.  This gives a whole bunch of things to Electron users including automatic proxy resolution.
2017-09-10 02:04:00 +10:00
Daniel Fischer b0dccc6f16 Updated TypeScript typings with generic type parameters for request methods & AxiosResponse 2017-08-29 20:53:49 +02:00
An Yan b26f351b6d Update ECOSYSTEM.md
add axios-cache-plugin to ECOSYSTEM.md
2017-08-22 10:48:25 +08:00
Robert Fridzema 69d5a4c2c0 Tiny fix 2017-08-21 14:56:27 +02:00
Julien Roncaglia 07a7b7c84c Adding a way to disable all proxy processing (#691)
* Adding a way to disable all proxy processing

When the proxy field in configuration is === false all proxy processing is
disabled. This specifically disable the 'http_proxy' environment variable
handling.

Fixes #635
Related to #434

* Change readme wording

From review comment on PR (#691)
2017-08-14 13:38:44 +02:00
George Chung 62db26b588 add axiosist to ECOSYSTEM.md (#963) 2017-08-13 17:30:27 +02:00