2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-18 12:39:44 +03:00
Commit Graph

124 Commits

Author SHA1 Message Date
Nick Uraltsev 417913bf8b Fixing issue with btoa and IE 2016-10-28 21:19:27 -07:00
Marc Mignonsin df6d3ce6cf Support proxy auth (#483)
* Adding proxy auth
2016-10-19 11:02:42 +02:00
Michael McDermott 7c89704262 Default to using "http:" protocol in http adapter
Fixes #490
2016-10-18 10:59:38 -04:00
Matt Zabriskie b21a280df0 Merge pull request #491 from Jarlotee/patch-1
Fix proxy bugs
2016-10-18 08:59:19 -05:00
Nick Uraltsev 3fcf54ff36 Fixing issue with calling cancel after response has been received 2016-10-17 18:20:13 -07:00
Jared Lotti ce1ecdae7a forgot to add optional port 2016-10-17 15:24:17 -04:00
Jared Lotti 5c4ca4ccc4 fix proxy bugs 2016-10-17 15:18:18 -04:00
Nick Uraltsev 72dd897bb5 Adding cancellation support 2016-09-17 11:52:56 -07:00
Nick Uraltsev 436d14b976 Fixing issue with responseURL property
`responseURL` is not supported in IE
2016-09-12 11:38:28 -07:00
kenvunz 8813068958 Add exception for file protocol request
Without this patch, it's not possible using `axios` for fetching local content for `cordova/phonegap` applications
2016-09-08 12:49:11 +07:00
Hubert Boma Manilla 93ae90ae6e Adding support for http_proxy and https_proxy environment variables 2016-08-24 09:05:26 -07:00
Dylan Lundy 63f41b53aa Splitting progress event handlers into upload and download handlers 2016-08-22 21:52:59 -07:00
Marco Pracucci 85b9015890 Fixing xsrf header on missing xsrfCookieName 2016-08-08 14:31:11 +02:00
Christian Schuhmann 1ffcbb0369 Fixing Authorization header with basic auth
The http adapater did not remove a custom Authorization header when auth is set.
2016-08-04 08:34:07 +02:00
Rubén Norte 4c790d5a7a Replacing 'agent' option with 'httpAgent' and 'httpsAgent' 2016-07-22 21:10:58 +02:00
Rubén Norte 157efd5615 Changing adapter signature to receive config and return promises 2016-07-09 21:30:16 +02:00
Matt Zabriskie 10eb238651 Move transform response logic from adapters to dispatcher 2016-06-23 15:11:35 -06:00
Matt Zabriskie 7a12f36602 Only use if it's a function 2016-06-23 13:59:03 -06:00
Nick Uraltsev 91dae3c4ad Improve error handling 2016-06-13 13:56:08 -07:00
Matt Zabriskie 203cbc2da0 Moving settle & transformData from helpers/ -> core/ 2016-06-01 13:54:38 -06:00
Matt Zabriskie eea790b8de Adding README to modules 2016-06-01 13:16:16 -06:00
Nick Uraltsev 4e7ca3dea3 Resolving conflicts and modifying http adapter to not change status code error range 2016-05-31 17:53:45 -07:00
Nick Uraltsev 94a2128549 Resolving merge conflicts 2016-05-18 19:44:21 -07: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
dublx a04077a17d Choose between follow-redirects or core 2016-04-22 15:47:16 +01:00
Josh 716e487038 Fixing handling of compression errors 2016-04-20 01:26:45 +02: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 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 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