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

158 Commits

Author SHA1 Message Date
Rubén Norte e0d59eb29b Adding failing tests that verify errors contain the request 2017-04-08 21:43:04 +02:00
Nick Uraltsev fa582233af Merge pull request #828 from mzabriskie/feature/return-last-request-in-redirects
Return the last request made in axios response
2017-04-08 11:26:05 -07:00
Jeremy Fowler 188334439f support node buffers less than 8192 bytes (#773) 2017-04-08 13:55:34 +02:00
Rubén Norte e5beab045c Adding test checking the request in axios response is the last in a redirect 2017-04-08 12:45:54 +02:00
Nick Uraltsev 2fe95621b0 Merge pull request #461 from theikkila/master
Add OPTIONS-method as a shortcut
2017-03-26 21:06:24 -07:00
Nick Uraltsev 3704d57ed4 Removing Promise from axios typings in favor of built-in type declarations 2017-03-14 19:23:05 -07:00
Nick Uraltsev 6d7e6fa222 Merge pull request #670 from 38elements/test
Updating test for adapter
2017-03-01 22:38:26 -08:00
Nick Uraltsev 36d97e525d Fixing broken test 2017-03-01 20:40:55 -08:00
38elements f034c56466 Updating test for adapter 2017-01-30 13:49:50 +09:00
Lochlan Bunn fe7d09bb08 Fixing combineURLs to support an empty relativeURL (#581)
* Fixing combineURLs to support an empty relativeURL

When combining the base and relative URLs, we should forego force
appending a slash to the base when the relative URL is empty.
This leads to a semantic url.

* Fixing combineURLs, allowing single slash relatives
2016-12-07 21:23:45 -08:00
Nick Uraltsev 6d0e19343a Fixing bug with custom intances and global defaults 2016-11-26 18:17:21 -08:00
Nick Uraltsev d963368960 Adding get, head, and delete to defaults.headers 2016-10-29 22:57:53 -07:00
Nick Uraltsev 46a9639ef2 Fixing sporadically failing tests 2016-10-29 21:58:06 -07:00
Nick Uraltsev 3ddeae60e5 Getting rid of TypeScript output files 2016-10-24 18:24:36 -07:00
Marc Mignonsin df6d3ce6cf Support proxy auth (#483)
* Adding proxy auth
2016-10-19 11:02:42 +02:00
Nick Uraltsev 3fcf54ff36 Fixing issue with calling cancel after response has been received 2016-10-17 18:20:13 -07:00
Teemu Heikkilä 2e0adc1cae Add OPTIONS-method as a shortcut 2016-09-29 18:54:17 +03:00
Nick Uraltsev 216e2a6787 Adding axios.isCancel method 2016-09-21 18:47:37 -07:00
Nick Uraltsev 2033ef3ad0 Adding TypeScript definitions for cancel tokens 2016-09-17 12:49:14 -07:00
Nick Uraltsev 72dd897bb5 Adding cancellation support 2016-09-17 11:52:56 -07:00
Nick Uraltsev df50698d5a Merge branch 'master' into cancel 2016-09-15 21:09:29 -07:00
Nick Uraltsev b2bc3354ac Adding Cancel and CancelToken classes 2016-09-15 21:06:32 -07:00
Rubén Norte b8f6f5049c Fixing forEach test 2016-09-12 20:51:23 +02:00
Tony L. Kerz 077153a0a7 [for-each] has-own-prop issue node 2016-09-11 09:15:22 -04:00
Nick Uraltsev 20666942d6 Adding proxy to TypeScript definitions 2016-08-24 15:48:14 -07:00
Nick Uraltsev 65ffdaefe8 Fixing build failure 2016-08-24 15:42:03 -07:00
Hubert Boma Manilla 93ae90ae6e Adding support for http_proxy and https_proxy environment variables 2016-08-24 09:05:26 -07:00
Nick Uraltsev 96d7ac2a0c Replacing progress with onUploadProgress and onDownloadProgress in TypeScript definitions 2016-08-23 18:29:25 -07:00
Dylan Lundy 63f41b53aa Splitting progress event handlers into upload and download handlers 2016-08-22 21:52:59 -07:00
Nick Uraltsev 0dfd53f151 Merging master 2016-08-18 20:34:23 -07:00
Nick Uraltsev 2325216239 Updating TypeScript definition tests 2016-08-18 20:01:54 -07:00
Nick Uraltsev 48549c8de7 Updating TypeScript definitions for axios.all and axios.spread 2016-08-16 19:03:28 -07:00
Nick Uraltsev 9a5e77bf6e Adding TypeScript definitions for adapters 2016-08-16 10:49:32 -07:00
Nick Uraltsev 0664d9895a Adding TypeScript definitions for interceptors 2016-08-16 09:34:23 -07:00
Marco Pracucci e861a6cf75 Added test to ensure that XHR adapter does not read cookies if xsrfCookieName is null 2016-08-11 10:47:53 +02:00
Nick Uraltsev 8f0973c6b9 Fixing failing test 2016-08-09 23:23:08 -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
Matt Zabriskie 0578445929 Moar tests 2016-07-16 11:15:46 -06: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 75f9b8c5fd Adding failing test for adapter errors 2016-07-07 16:04:37 +02:00
Matt Zabriskie 181f4e78b9 Attempting to fix SauceLabs timeouts 2016-06-27 12:48:09 -06:00
Matt Zabriskie 1725e0808d Fixing broken test 2016-06-23 16:30:08 -06: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 e833a2f7e4 Invoke request transformers after request interceptors
closes #352
2016-06-23 14:55:22 -06: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