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

74 Commits

Author SHA1 Message Date
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
mzabriskie 2936cdce14 Reverting default X-Requested-With header for xhr
for more details see https://remysharp.com/2011/04/21/getting-cors-working
2015-09-21 13:58:35 -06:00
Jeffrey Horn a130e787c3 return result from callback
returning the result of the callback allows you to chain the promise
like you would expect
2015-09-02 10:43:27 -07:00
mzabriskie e49237ce01 Removing es6-promise dependency 2015-08-10 19:00:27 -06:00
mzabriskie 0e33680f40 Removing deprecated success/error aliases
closes #57
2015-08-10 19:00:27 -06:00
mzabriskie 3c4dfe8a81 Making content-type header case insensitive
closes #89
2015-07-23 09:39:59 -07:00
Matt Zabriskie 3b10b6a6c5 Merge pull request #49 from maxhoffmann/master
Fixing arrays in get params
2015-07-23 09:08:16 -07:00
Maximilian Hoffmann f44597e38b don’t escape square brackets 2015-07-23 10:46:21 +02:00
Andrew Gibb 4f1101fe4b Fixing isArrayLike to allow length as a param. Added test 2015-07-21 14:29:24 +10:00
Maximilian Hoffmann 594df987f2 fix array params 2015-05-27 13:32:34 +02:00
mzabriskie 1629a026da Adding X-Requested-With header 2015-04-12 16:07:32 -06:00
mzabriskie a517a23982 Adding test for parsing JSON response 2015-04-12 15:53:21 -06:00
mzabriskie fc12b933f7 Moving many nodeunit tests to jasmine 2015-03-18 17:12:51 -06:00
mzabriskie b745600ab7 Using webpack for testing 2015-03-18 10:45:06 -06:00
mzabriskie dfa816df9b Adding utils tests 2015-03-17 23:07:32 -06:00
mzabriskie 2ce5aa77df Releasing 0.5.2 2015-03-13 17:13:41 -06:00
mzabriskie 69af75623c Adding statusText to response
closes #46
2015-03-13 17:07:52 -06:00
mzabriskie 571554151d Test passing now 2015-03-10 15:11:57 -06:00
mzabriskie 6d03e0bd4e Fixing issues with strict mode
closes #45
2015-03-10 14:28:43 -06:00
mzabriskie ace6a04671 Noting that jasmine-ajax 3.0.0 is needed 2015-02-17 09:55:11 -07:00