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

113 Commits

Author SHA1 Message Date
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
Matt Zabriskie 203cbc2da0 Moving settle & transformData from helpers/ -> core/ 2016-06-01 13:54:38 -06:00
Nick Uraltsev 5c5a94007c Adding test for maxRedirects option 2016-05-31 18:29:32 -07: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 600653e293 Adding test for compression error handling 2016-05-18 19:47:12 -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
Nick Uraltsev f20490eb6b Adding support for URLSearchParams 2016-05-07 12:26:28 -07: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
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
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 dcbb352262 Moving test helpers and auto-loading them 2016-03-07 13:21:27 -07:00
Matt Zabriskie 955d5a02e4 Run ALL the tests 😸 2016-03-05 23:29:29 -07:00
Matt Zabriskie dc07ef2559 Fixing tests for IE 2016-03-05 23:17:39 -07:00
Matt Zabriskie 371b82a2a0 Cleaning up tests a bit 2016-03-04 10:35:05 -07:00
Matt Zabriskie 6f32ca772b Increasing timeout so test doesn't fail in Safari 2016-03-03 23:34:38 -07:00
Matt Zabriskie 62ad1f2b0b Making validation of invalid character error less strict 2016-03-03 23:16:42 -07:00
Matt Zabriskie e7aa98f9f5 Improving tests in anticipation for saucelabs support 2016-03-03 22:44:16 -07:00
Matt Zabriskie e2fbc68960 Removing console.log 2016-03-03 22:43:38 -07:00
Matt Zabriskie 7041775943 Changing btoa ponyfill to improve testing 2016-03-03 22:43:16 -07:00
Andrew Crites 116f5fca88 Fixing 245:
Formatting and adding tests
2016-02-28 22:51:20 -05: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
Philip Roberts 252876c2c0 Fixing reject not being called on xhr network errors.
Fixes #204
2016-01-22 16:39:41 +00:00
Gary Chambers f44d9ce677 Fixing redirect behaviour 2016-01-19 14:51:14 +00:00
vandosant 71aadd604d Fixing #184 Content type removed if data is false 2016-01-17 21:25:21 -07:00
Matt Zabriskie 20e724af80 Adding failing test for #184 2016-01-17 17:10:57 -07:00
Matt Zabriskie b9bb6ae7aa Adding support for custom adapters 2016-01-17 15:29:10 -07:00
Jorik Tangelder 85a3f7ba82 Add manual tests
This would help testing browser support.
2016-01-03 12:08:51 +01:00
Matt Zabriskie 82847f737e Fixing config weirdness 2015-12-24 11:44:46 -07:00
Matt Zabriskie 2b147fb0b7 Moving bind into it's own file 2015-12-14 20:06:16 -07:00
Matt Zabriskie 714023082f Removing TODO 2015-12-14 13:00:45 -07:00
Julia Gao fd2339cf5c got rid of the colon after Basic, test passed 2015-12-14 12:37:19 -07:00
Matt Zabriskie 4d408837c1 Adding failing test for #169 2015-12-14 12:19:25 -07:00
Matt Zabriskie 9ede644b98 Better tests for btoa 2015-12-14 12:16:57 -07:00
Matt Zabriskie f9c46c5c1d Adding tests for interceptors on custom instances 2015-12-11 13:52:23 -07:00
Matt Zabriskie dc1524abf7 Adding failing test for #138 2015-12-11 13:02:39 -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
Idan Gazit 603e7c84a0 Polyfilling btoa where appropriate
Includes testing of the polyfills.
2015-12-10 17:22:39 +02:00
Idan Gazit 0d8b5b6d94 Adding tests for basic auth 2015-12-09 13:21:18 +02:00
Nick Uraltsev 435636c714 Add support for baseURL parameter 2015-11-21 23:51:59 -08:00