Matt Zabriskie
6f13a7591b
Only strip Content-Type header if data is undefined
2016-01-18 11:04:10 -07:00
Matt Zabriskie
dea613ae4b
Merge pull request #195 from vandosant/master
...
Fixing #184 Content type removed if data is false
2016-01-17 22:07:56 -07: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
5ac6e8de48
Updating dev dependencies
2016-01-17 16:02:49 -07:00
Matt Zabriskie
b9bb6ae7aa
Adding support for custom adapters
2016-01-17 15:29:10 -07:00
Matt Zabriskie
be241d55df
Merge pull request #185 from jtangelder/improve-ie
...
Improve XDomainRequest implementation
2016-01-17 14:35:46 -07:00
Jorik Tangelder
ef6bfe8cb2
fix linting errors
2016-01-03 12:17:43 +01:00
Jorik Tangelder
85a3f7ba82
Add manual tests
...
This would help testing browser support.
2016-01-03 12:08:51 +01:00
Jorik Tangelder
986647be59
improve IE support
...
removes ActiveXObject support, and improves detection of XDomainRequest.
2016-01-03 12:08:09 +01:00
Jorik Tangelder
8425fbe556
Merge remote-tracking branch 'refs/remotes/mzabriskie/master'
2016-01-03 11:09:31 +01:00
Matt Zabriskie
6265b54409
Merge pull request #183 from mzabriskie/refactor-config
...
Fixing config weirdness
2015-12-24 12:39:50 -07:00
Matt Zabriskie
82847f737e
Fixing config weirdness
2015-12-24 11:44:46 -07:00
Matt Zabriskie
cdedbf0bb1
Merge pull request #182 from anthwinter/master
...
Only use XDomainRequest <= IE 9
2015-12-24 09:46:26 -07:00
Anth Winter
0545573798
Added condition to check for IE version before using XDomainRequest
2015-12-24 12:05:55 +00:00
Anth Winter
ff4b5edcbf
Added IE version check helper function
2015-12-24 12:03:51 +00:00
Matt Zabriskie
9a5dec2dc5
Releasing 0.8.1
2015-12-14 20:43:32 -07:00
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