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

159 Commits

Author SHA1 Message Date
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
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
vandosant 71aadd604d Fixing #184 Content type removed if data is false 2016-01-17 21:25:21 -07:00
Matt Zabriskie b9bb6ae7aa Adding support for custom adapters 2016-01-17 15:29:10 -07:00
Jorik Tangelder ef6bfe8cb2 fix linting errors 2016-01-03 12:17:43 +01:00
Jorik Tangelder 986647be59 improve IE support
removes ActiveXObject support, and improves detection of XDomainRequest.
2016-01-03 12:08:09 +01:00
Matt Zabriskie 82847f737e Fixing config weirdness 2015-12-24 11:44:46 -07:00
Anth Winter 0545573798 Added condition to check for IE version before using XDomainRequest 2015-12-24 12:05:55 +00:00
Anth Winter ff4b5edcbf Added IE version check helper function 2015-12-24 12:03:51 +00:00
Matt Zabriskie f28a4a8248 Using more strict eslint rules 2015-12-14 20:06:57 -07:00
Matt Zabriskie 2b147fb0b7 Moving bind into it's own file 2015-12-14 20:06:16 -07:00
Matt Zabriskie d127adfe00 Merge pull request #174 from aukevanleeuwen/fix-for-issue-171
Fixing #171, don't fail on error responses with json payloads
2015-12-14 14:55:30 -07:00
Auke van Leeuwen 0e4b3399c1 Fixing #171, don't fail on error responses with json payloads 2015-12-14 22:14:22 +01:00
Julia Gao fd2339cf5c got rid of the colon after Basic, test passed 2015-12-14 12:37:19 -07:00
Matt Zabriskie 77b8966b47 Making btoa polyfill more standard 2015-12-14 12:16:11 -07:00
Matt Zabriskie c566567420 Better import statement 2015-12-14 12:15:53 -07:00
Sam Julien 415ff773cc Add check for withCredentials in XHR adapter (#138) 2015-12-11 12:16:57 -08:00
Matt Zabriskie 085f95f9ce Better formatting 2015-12-11 12:38:23 -07:00
Matt Zabriskie 5d9ca93bd3 Merge pull request #160 from nickuraltsev/base-url
Add support for baseURL parameter
2015-12-11 11:45:51 -07:00
Matt Zabriskie 07b177f347 Removing unwanted user/pass for auth 2015-12-11 11:39:22 -07:00
Idan Gazit 603e7c84a0 Polyfilling btoa where appropriate
Includes testing of the polyfills.
2015-12-10 17:22:39 +02:00