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

206 Commits

Author SHA1 Message Date
Nick Uraltsev b2bc3354ac Adding Cancel and CancelToken classes 2016-09-15 21:06:32 -07:00
Nick Uraltsev 0dfd53f151 Merging master 2016-08-18 20:34:23 -07:00
Nick Uraltsev 5176dfdec5 Converting TypeScript definitions to ES2015 module syntax 2016-08-09 23:17:11 -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
Matt Zabriskie 98d489558e Transform response data on error
closes #378
2016-07-16 11:10:58 -06:00
Rubén Norte 157efd5615 Changing adapter signature to receive config and return promises 2016-07-09 21:30:16 +02:00
Rubén Norte 235c19c876 Implementing adapter error enhacement 2016-07-07 16:05:04 +02:00
Matt Zabriskie 6161754326 Instances created from axios.create have same API as default axios
closes #217
2016-06-23 15:43:42 -06:00
Matt Zabriskie 46eee269da Fixing custom instance defaults
closes #341
2016-06-23 15:19:10 -06:00
Matt Zabriskie 10eb238651 Move transform response logic from adapters to dispatcher 2016-06-23 15:11:35 -06:00
Matt Zabriskie e833a2f7e4 Invoke request transformers after request interceptors
closes #352
2016-06-23 14:55:22 -06:00
Matt Zabriskie f21784ccb8 Removing restriction on withCredentials being overridden
closes #343
2016-06-23 14:04:27 -06:00
Matt Zabriskie 7a12f36602 Only use if it's a function 2016-06-23 13:59:03 -06:00
Nick Uraltsev 6f2186d863 Modify createError and enhanceError functions to accept response as parameter 2016-06-13 18:58:55 -07:00
Nick Uraltsev 91dae3c4ad Improve error handling 2016-06-13 13:56:08 -07:00
Matt Zabriskie 0e2f4f1417 Moving Axios class into core/ 2016-06-01 14:42:14 -06: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
Matt Zabriskie 112f98dc18 Merge pull request #317 from nickuraltsev/urlsearchparams
Adding support for URLSearchParams
2016-05-24 20:40:25 -06:00
Nick Uraltsev 94a2128549 Resolving merge conflicts 2016-05-18 19:44:21 -07:00
Nick Uraltsev 2b8d89a65e Modifying isURLSearchParams function to use instanceof instead of duck typing 2016-05-18 18:47:34 -07:00
Joshua Egan 0d9996b1a0 Adding request function to exported singleton
#316
2016-05-17 13:54:34 -07:00
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
Nick Uraltsev f20490eb6b Adding support for URLSearchParams 2016-05-07 12:26:28 -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
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
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 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