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

178 Commits

Author SHA1 Message Date
Matt Zabriskie a8a55876bf Merge pull request #321 from reggi/patch-1
export Axios fixes #320
2016-05-17 09:48:08 -06:00
Sergey Tsvetkov b1e6e753ff Used instanceof to determine FormData in utils.isFormData. Fix #323. 2016-05-17 15:52:15 +03:00
Thomas Reggi 5a20edeb0c added semicolon 2016-05-13 15:37:05 -04:00
Thomas Reggi 7548f2f79d export Axios fixes #320 2016-05-13 15:28:58 -04:00
stevenp f32b5a6ce4 Only set empty handlers for IE CORS support if using XDomainRequest 2016-05-04 00:24:18 -05:00
Matt Zabriskie aeac3e132e Merge pull request #299 from nickuraltsev/array-buffer-fix
Fixing issue with ArrayBuffer
2016-04-26 14:25:19 -06:00
Nick Uraltsev fa9444e0ba Allow custom HTTP status code error ranges (#308)
Adding support for custom HTTP status code error ranges
2016-04-26 14:18:58 -06:00
Matt Zabriskie 093593cbca Merge pull request #296 from nickuraltsev/stream
Adding support for Stream with HTTP adapter
2016-04-21 10:43:54 -06:00
Matt Zabriskie 7cf19f64c4 Reverting #234 2016-04-20 22:28:01 -06:00
Nick Uraltsev 4d83ba91f5 Fix issue with ArrayBuffer 2016-04-18 11:22:11 -07:00
Nick Uraltsev d23f9d5d47 Add support for Stream 2016-04-14 17:38:35 -07:00
Nick Uraltsev 9e7b1b5993 Add isFunction and isStream helpers 2016-04-12 19:49:12 -07:00
Nick Uraltsev 4de17bca09 Fix request path for proxied requests 2016-04-08 16:41:51 -07:00
msangui 775ca3e732 Added proxy option to http.js 2016-04-08 16:17:03 -07:00
Nick Uraltsev a913ea56c1 Merge pull request #200 from AurelioDeRosa/patch-1
Expose XHR instance
2016-03-31 20:08:58 -07:00
Deamon87 8972ea5208 Fixing xhr.js for WebWorker env
More fixes.
2016-03-29 03:09:15 +03:00
Deamon87 aaca1244eb Fix xhr for webworker env
Fix xhr for webworker env
2016-03-29 02:43:51 +03:00
bomsy fefa23a8dd Adding config option to restrict based on the size of the response co… 2016-03-25 23:50:52 +00:00
Matt Zabriskie 4d2f9c21d4 Gettings tests passing for IE9 2016-03-09 16:17:10 -07:00
Matt Zabriskie 0da38da921 A bit of code cleanup 2016-03-07 10:50:46 -07:00
Aurelio De Rosa ab361ac169 Expose XHR instance
Fixes gh-64
2016-03-06 12:25:33 +00:00
Matt Zabriskie 5fc59a65aa Resolving merge conflicts 2016-03-05 23:56:02 -07:00
Matt Zabriskie 84755d1325 Merge pull request #251 from ruchigoyal2005/master
IE9 fix for cross domain calls
2016-03-05 23:40:13 -07:00
Matt Zabriskie 3c2594292a Merge pull request #249 from ctimmerm/ie8-onreadystatechange
Fixing IE8 support by bringing back onreadystatechange
2016-03-05 23:35:10 -07:00
Matt Zabriskie 6d84717cba Updating dependencies 2016-03-05 23:16:16 -07:00
Matt Zabriskie 03f291177d Merge branch 'master' of github.com:mzabriskie/axios 2016-03-03 23:35:43 -07:00
Matt Zabriskie 7041775943 Changing btoa ponyfill to improve testing 2016-03-03 22:43:16 -07:00
Matt Zabriskie 32080df31b Merge pull request #227 from rogeriochaves/master
Handle timeout on XHR requests
2016-03-02 18:17:51 -07:00
Matt Zabriskie 8d51b68bc4 Merge pull request #252 from ajcrites/basic-auth-245
Fixing 245: Basic auth for node http adapter
2016-03-02 12:31:09 -07:00
Rogério Chaves ed4a4dc9a9 Uses the same timeout error message on XHR adapter than HTTP adapter 2016-03-02 15:16:01 -03:00
goyalr 1696d1ca55 IE9 fix for cors api calls are timing out prematurely 2016-02-29 15:48:12 -05:00
goyalr 29f5b9b66d Fixed axios promise rejection for cors api calls in IE9 2016-02-29 15:41:34 -05:00
Andrew Crites 116f5fca88 Fixing 245:
Formatting and adding tests
2016-02-28 22:51:20 -05:00
Andrew Crites 76cb7eeba9 Fixing 245:
Parse basic auth from URL and submit with http adapter
2016-02-28 22:42:02 -05:00
Michael Bradley 1c32e2ab8d remove trailing spaces 2016-02-26 13:34:20 -08:00
Michael Bradley 68a45b5e3e use multi line ternary operator
https://github.com/felixge/node-style-guide#use-multi-line-ternary-operator
2016-02-26 08:59:40 -08:00
Michael Bradley a63e7cd8ca Fix for https://github.com/mzabriskie/axios/issues/248
undefined is not valid JSON, make the value null instead.

JSON.parse(undefined) will throw an exception while JSON.parse(null) is acceptable.

http://stackoverflow.com/a/14946821/5012948
2016-02-26 08:55:54 -08:00
Matt Zabriskie dbd2c11454 Merge pull request #234 from samueleaton/master
switches check order of xhr/http for electron
2016-02-25 09:12:55 -07:00
Colin Timmermans ca0617061e Fixing IE8 support by bringing back onreadystatechange
Fixes #241
2016-02-25 13:33:58 +01:00
samueleaton ddc965831c switches check order of xhr/http for electron 2016-02-15 22:38:56 -07:00
Rogério Chaves 893c061dd6 Handle timeout on XHR requests 2016-02-05 16:26:58 -02:00
1000ch ca12c05882 fix typo 2016-02-02 21:09:25 +09:00
Matt Zabriskie 70ef49eeb9 Bit of code cleanup 2016-01-24 15:27:30 -07:00
Matt Zabriskie 7a16f72895 Improving logic for handling timeout in node
closes #124
2016-01-22 16:27:54 -07:00
Matt Zabriskie d31ebc4c50 Normalize response status for HTTP 204 in MSIE 2016-01-22 14:40:44 -07:00
Matt Zabriskie c73389e69d Merge pull request #202 from savantaparna/master
Fixing #201 by treating status code 1223 as a success code.
2016-01-22 14:00:09 -07:00
Philip Roberts 252876c2c0 Fixing reject not being called on xhr network errors.
Fixes #204
2016-01-22 16:39:41 +00:00
savantaparna 1f2d79038c Fixing #201 by treating status code 1223 as a success code. 2016-01-21 17:46:13 -08:00
Gary Chambers f44d9ce677 Fixing redirect behaviour 2016-01-19 14:51:14 +00:00
Matt Zabriskie 6f13a7591b Only strip Content-Type header if data is undefined 2016-01-18 11:04:10 -07:00