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

306 Commits

Author SHA1 Message Date
Matt Zabriskie f28a4a8248 Using more strict eslint rules 2015-12-14 20:06:57 -07:00
Matt Zabriskie 2b147fb0b7 Moving bind into it's own file 2015-12-14 20:06:16 -07:00
Matt Zabriskie d127adfe00 Merge pull request #174 from aukevanleeuwen/fix-for-issue-171
Fixing #171, don't fail on error responses with json payloads
2015-12-14 14:55:30 -07:00
Auke van Leeuwen 0e4b3399c1 Fixing #171, don't fail on error responses with json payloads 2015-12-14 22:14:22 +01:00
Matt Zabriskie 714023082f Removing TODO 2015-12-14 13:00:45 -07:00
Matt Zabriskie c1810838c8 Merge pull request #173 from ryoia/master
got rid of the colon after Basic, test passed
2015-12-14 12:59:30 -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 77b8966b47 Making btoa polyfill more standard 2015-12-14 12:16:11 -07:00
Matt Zabriskie c566567420 Better import statement 2015-12-14 12:15:53 -07:00
Matt Zabriskie f9c46c5c1d Adding tests for interceptors on custom instances 2015-12-11 13:52:23 -07:00
Matt Zabriskie 4ffeba3cde Merge pull request #168 from samjulien/master
Adding check for withCredentials in XHR adapter (#138)
2015-12-11 13:23:03 -07:00
Sam Julien 415ff773cc Add check for withCredentials in XHR adapter (#138) 2015-12-11 12:16:57 -08:00
Matt Zabriskie dc1524abf7 Adding failing test for #138 2015-12-11 13:02:39 -07:00
Matt Zabriskie 085f95f9ce Better formatting 2015-12-11 12:38:23 -07:00
Matt Zabriskie 908d12b8ef Releasing 0.8.0 2015-12-11 12:09:10 -07:00
Matt Zabriskie f94ea82f93 Merge branch 'master' of github.com:mzabriskie/axios 2015-12-11 12:06:08 -07:00
Matt Zabriskie bce07e53aa Releasing 0.8.0 2015-12-11 12:05:56 -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
Matt Zabriskie 07b177f347 Removing unwanted user/pass for auth 2015-12-11 11:39:22 -07:00
Matt Zabriskie d81db4ab2b Merge pull request #167 from idan/add-basic-auth
Add support for HTTP Basic auth via Authorization header
2015-12-10 22:14:12 -07:00
Idan Gazit 603e7c84a0 Polyfilling btoa where appropriate
Includes testing of the polyfills.
2015-12-10 17:22:39 +02:00
Idan Gazit af170334bd Dropping support for auth.user/pass
Only accept `username` and `password` as arguments
2015-12-10 17:21:31 +02:00
Idan Gazit 3138600caf Adding btoa polyfill 2015-12-10 17:20:19 +02:00
Idan Gazit 0d8b5b6d94 Adding tests for basic auth 2015-12-09 13:21:18 +02:00
Idan Gazit 95df032fbd Abandoning URL embedded identities for Basic auth
Use an `Authorization` header instead, which is a safer choice than URL embedded identities (aka `http://user:pass@example.com`). [Chrome 19 dropped support][chromium128323] for URL embedded identities in XMLHttpRequest for security reasons.

Added documentation note about how this will overwrite any existing `Authorization` header that the user may have set.

[chromium128323]: https://code.google.com/p/chromium/issues/detail?id=128323
2015-12-09 13:21:07 +02:00
Idan Gazit e270c70d4d Documenting the HTTP Basic auth request config 2015-12-09 11:56:53 +02:00
Harry Lachenmayer 19cbca0c71 Add HTTP basic authentication for Node. 2015-12-09 11:27:47 +02:00
Harry Lachenmayer 32a904394f Add HTTP basic authentication. 2015-12-09 11:27:47 +02:00
Nick Uraltsev 2ab201f049 Update README.md: baseURL parameter 2015-11-22 01:32:59 -08: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
Matt Zabriskie 4bbde9ae6c Merge pull request #140 from vineethawal/xDomainRequestSupport
XDomainRequest support
2015-11-21 14:24:05 -07:00
Vineet Hawal 837da5319c remove console.log -_- 2015-11-22 01:32:38 +05:30
Vineet Hawal 5c3b144a64 import isURLSameOrigin at top 2015-11-22 01:27:34 +05:30
Vineet Hawal 0be4467e05 buildUrl -> buildURL 2015-11-22 00:28:19 +05:30
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 7fa69152e9 Restoring buildURL 2015-11-20 12:17:14 -07:00
Matt Zabriskie 54be280729 Fixing file system case issue 2015-11-20 12:16:45 -07:00
Matt Zabriskie 7da605cf3a Use locally installed grunt for running tests 2015-11-20 11:59:03 -07:00
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 1eac0b1b21 buildUrl helper reference fix in xhr 2015-11-20 15:58:49 +05:30
Vineet Hawal b1f2df42a2 undo dist files changes 2015-11-20 15:36:49 +05:30
Vineet Hawal 0dbeea3b6e undo dist files changes 2015-11-20 15:34:29 +05:30
Vineet Hawal 4db0578fa2 undo dist files changes 2015-11-20 15:25:52 +05:30
Vineet Hawal 17c1cb92e2 Merge branch 'xDomainRequestSupport' of github.com:vineethawal/axios into xDomainRequestSupport 2015-11-20 15:21:42 +05:30