2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
Nick Uraltsev e9fbe959d2 Updating dispatchRequest to use isCancel instead of instanceof 2016-09-23 15:58:25 -07:00
Nick Uraltsev 032916e116 Merging master 2016-09-23 15:54:47 -07:00
Nick Uraltsev 72dd897bb5 Adding cancellation support 2016-09-17 11:52:56 -07:00
Rubén Norte b2745873a1 Moving default adapter to global defaults 2016-09-05 21:30:29 +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 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 7cf19f64c4 Reverting #234 2016-04-20 22:28:01 -06:00
samueleaton ddc965831c switches check order of xhr/http for electron 2016-02-15 22:38:56 -07:00
Matt Zabriskie b9bb6ae7aa Adding support for custom adapters 2016-01-17 15:29:10 -07:00
Matt Zabriskie f28a4a8248 Using more strict eslint rules 2015-12-14 20:06:57 -07:00
Tomáš Holas 72fc02f2a5 XHR browser check now works in IE8
Test for ActiveXObject
2015-07-23 14:19:14 +02:00
Tomáš Holas ca42bb1d2a In browsers check for XMLHttpRequest, not window
In nodejs testing environment it's possible to use https://github.com/tmpvar/jsdom library to define a window object, but you still want to use node http adapter. Due to those diverse testing environmnents, I propose to test for XMLHttpRequest directly, because window global object is not a sure sign of a browser environment anymore.
2015-07-13 09:42:27 +02:00
mzabriskie f9a2c7e8b8 Fixing bad use strict statement 2015-03-18 17:22:08 -06:00
mzabriskie 60a82ef424 Changing to file level use strict statement 2015-03-18 17:21:15 -06:00
mzabriskie a98c61f458 Adding ESLint 2015-03-17 14:14:26 -06:00
mzabriskie dd2aa791e6 Cleanup 2015-03-13 17:08:22 -06:00
mzabriskie bbf437ce4c Cleaning up core axios a bit 2015-01-23 02:11:57 -07:00