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

93 Commits

Author SHA1 Message Date
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
Nick Uraltsev 20a25a2783 Add isAbsoluteURL helper 2015-11-21 19:29:53 -08:00
Nick Uraltsev e253b0ef3e Add combineURLs helper 2015-11-21 17:41:02 -08:00
Vineet Hawal 729ff05112 Merge branch 'master' of github.com:mzabriskie/axios into xDomainRequestSupport
Conflicts:
	package.json
2015-11-22 00:17:24 +05:30
Matt Zabriskie b404124b47 Merge branch 'master' of github.com:mzabriskie/axios 2015-11-20 11:37:48 -07:00
Matt Zabriskie d1940f52bc Restoring buildURL tests 2015-11-20 11:37:41 -07:00
Matt Zabriskie b1d9194622 Fixing file system case issue 2015-11-20 11:36:50 -07:00
Vineet Hawal e5e14daab6 Merge branch 'master' of github.com:mzabriskie/axios into xDomainRequestSupport
Conflicts:
	lib/adapters/xhr.js
2015-11-20 15:21:04 +05:30
Matt Zabriskie 433dd0d037 Merge pull request #149 from Kosta-Github/Kosta/unzip
Adding transparent decompression if `content-encoding` is set
2015-11-19 15:37:58 -07:00
Matt Zabriskie 3d65057d71 Making isURLSameOrigin/cookies safe to use in all envs 2015-11-19 15:18:47 -07:00
Konstantin Baumann 32dfc1d9e0 add test case for transparent decompression for content-encoding being set in the response headers 2015-11-12 11:34:07 +01:00
Vineet Hawal 44cccc450c add test case 2015-10-29 12:59:10 +05:30
Vineet Hawal a59bc8d2ae add xDomainRequest adapter 2015-10-29 12:51:37 +05:30
Colin Timmermans 1e2cb9bdca Don't use utils.forEach to loop over arguments
This fixes IE8 support, where we cannot relialably detect an arguments
object.
2015-10-27 23:26:04 +01:00
Matt Zabriskie 11c12b2c65 Merge pull request #121 from azendoo/custom-encode-params-method
Add support third-party library to serialize url params
2015-10-27 14:48:02 -06:00
David Fournier 14ede9e18e Add support third-party library to serialize url params 2015-10-27 11:54:44 +01:00
Nick Uraltsev 4ac0fbd1c1 Rename axios.createNew to axios.create 2015-10-23 08:40:46 -07:00
Nick Uraltsev b10874fa67 Make axios instantiable 2015-10-03 09:38:16 -07:00
mzabriskie 219a1c29ab Supporting a fetch like API 2015-09-29 00:04:00 -06:00
mzabriskie 95f0f00c77 Fixing axios to treat single string argument as URL
closes #116
2015-09-28 18:40:20 -06:00
Matt Zabriskie 68867fba55 Merge pull request #106 from theverything/return-from-spread
return result from callback
2015-09-21 16:45:17 -06:00