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

1093 Commits

Author SHA1 Message Date
Emily Morehouse 821d5e245a Merge pull request #1366 from emilyemorehouse/fix/1070
Follow up to #1070 - adding documentation and tests
2018-02-16 18:35:48 -07:00
Emily Morehouse 4ea77b70b7 Follow up to #1070:
- Adding information in README for socketPath when used with a proxy
- Adding an HTTP test for socketPath option
2018-02-16 17:18:58 -07:00
Emily Morehouse ccc78899bb Merge pull request #1070 from Starfox64/master
Adding support for UNIX Sockets
2018-02-16 17:05:48 -07:00
MiguelMadero f7310ca083 Documents the timeout default 2018-02-14 17:49:39 -08:00
Matt Lavin f1a0feb2cd Add reference to axios-fetch in ECOSYSTEM.md
Add reference to a Fetch implementation based on an Axios client
2018-02-14 12:03:37 -05:00
Emily Morehouse 40b829994c Merge pull request #1357 from emilyemorehouse/fix/1286
Companion for #1286 and #1287 - also updating follow-redirects version in package.json
2018-02-11 13:30:28 -06:00
Emily Morehouse 839b9ab3e7 Fixes #1286 - also updating follow-redirects version in package.json to ensure that maxBodyLength option is supported 2018-02-11 13:27:46 -06:00
Emily Morehouse f26e0c0e7a Merge pull request #1287 from mividtim/mividtim/follow-redirects-max-length
Set maxBodyLength on follow-redirects to match maxContentLength on AxiosOptions
2018-02-11 13:25:55 -06:00
Emily Morehouse 14057dc0bd Merge pull request #1273 from jcrben/master
adding codetriage badge
2018-02-07 20:23:28 -07:00
Alfan Nur Fauzan 7a355ff432 fix cannot send post method 2018-02-07 12:47:24 +07:00
Nick Uraltsev 604e8dd860 Merge pull request #1314 from penance316/master
Adding example of cancelling a POST request to readme
2018-01-22 08:41:09 -08:00
Nero a8de2cf485 update example according to feedback from PR 2018-01-22 16:36:45 +00:00
Nick Uraltsev b004db40d4 Merge pull request #1188 from 38elements/patch-1
Removing unused dependencies
2018-01-22 08:14:48 -08:00
Nero c51054f24d add example of cancelling a POST request to readme
it seems when cancelling a post request we need to specify cancellation token as an axios parameter and not as a data item.
2018-01-22 13:00:21 +00:00
Tim Garthwaite 89bf42b946 Fix typo 2018-01-11 12:54:29 -05:00
Tim Garthwaite e452f761f7 Don't set maxBodyLength in follow-redirects if maxContentLength is -1 2018-01-11 10:44:40 -05:00
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 138108ee56 Merge pull request #1279 from robaxelsen/docs-ecosystem-adding-library
Adding redux-saga-requests to ecosystem in docs
2018-01-10 21:09:16 -08:00
Robert Axelsen 66280b037e Adding redux-saga-requests to ecosystem in docs
Closes #1100.
2018-01-09 20:39:43 +01: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
Deric Cain d8cce2017d Added a simple async/await example
Since `async/await` is not widely used, and I have seen quite a few questions on how to actually use `async/await` with Axios, I figured it would be nice to have it in the readme, front and center.
2018-01-08 06:15:16 -06:00
Ben Creasy 547f3f31fa adding codetriage badge 2018-01-07 11:36:59 -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
38elements ade3c705d4 Removing unused dependencies
PhantomJS is not used in axios.
2017-11-18 00:42:43 +09:00
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