Matt Zabriskie
5fc59a65aa
Resolving merge conflicts
2016-03-05 23:56:02 -07:00
Matt Zabriskie
84755d1325
Merge pull request #251 from ruchigoyal2005/master
...
IE9 fix for cross domain calls
2016-03-05 23:40:13 -07:00
Matt Zabriskie
3c2594292a
Merge pull request #249 from ctimmerm/ie8-onreadystatechange
...
Fixing IE8 support by bringing back onreadystatechange
2016-03-05 23:35:10 -07:00
Matt Zabriskie
6d84717cba
Updating dependencies
2016-03-05 23:16:16 -07:00
Matt Zabriskie
32080df31b
Merge pull request #227 from rogeriochaves/master
...
Handle timeout on XHR requests
2016-03-02 18:17:51 -07:00
Matt Zabriskie
8d51b68bc4
Merge pull request #252 from ajcrites/basic-auth-245
...
Fixing 245: Basic auth for node http adapter
2016-03-02 12:31:09 -07:00
Rogério Chaves
ed4a4dc9a9
Uses the same timeout error message on XHR adapter than HTTP adapter
2016-03-02 15:16:01 -03:00
goyalr
1696d1ca55
IE9 fix for cors api calls are timing out prematurely
2016-02-29 15:48:12 -05:00
goyalr
29f5b9b66d
Fixed axios promise rejection for cors api calls in IE9
2016-02-29 15:41:34 -05:00
Andrew Crites
116f5fca88
Fixing 245:
...
Formatting and adding tests
2016-02-28 22:51:20 -05:00
Andrew Crites
76cb7eeba9
Fixing 245:
...
Parse basic auth from URL and submit with http adapter
2016-02-28 22:42:02 -05:00
Michael Bradley
1c32e2ab8d
remove trailing spaces
2016-02-26 13:34:20 -08:00
Michael Bradley
68a45b5e3e
use multi line ternary operator
...
https://github.com/felixge/node-style-guide#use-multi-line-ternary-operator
2016-02-26 08:59:40 -08:00
Michael Bradley
a63e7cd8ca
Fix for https://github.com/mzabriskie/axios/issues/248
...
undefined is not valid JSON, make the value null instead.
JSON.parse(undefined) will throw an exception while JSON.parse(null) is acceptable.
http://stackoverflow.com/a/14946821/5012948
2016-02-26 08:55:54 -08:00
Colin Timmermans
ca0617061e
Fixing IE8 support by bringing back onreadystatechange
...
Fixes #241
2016-02-25 13:33:58 +01:00
Rogério Chaves
893c061dd6
Handle timeout on XHR requests
2016-02-05 16:26:58 -02: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
Matt Zabriskie
c73389e69d
Merge pull request #202 from savantaparna/master
...
Fixing #201 by treating status code 1223 as a success code.
2016-01-22 14:00:09 -07:00
Philip Roberts
252876c2c0
Fixing reject not being called on xhr network errors.
...
Fixes #204
2016-01-22 16:39:41 +00:00
savantaparna
1f2d79038c
Fixing #201 by treating status code 1223 as a success code.
2016-01-21 17:46:13 -08:00
Gary Chambers
f44d9ce677
Fixing redirect behaviour
2016-01-19 14:51:14 +00:00
Matt Zabriskie
6f13a7591b
Only strip Content-Type header if data is undefined
2016-01-18 11:04:10 -07:00
vandosant
71aadd604d
Fixing #184 Content type removed if data is false
2016-01-17 21:25:21 -07:00
Jorik Tangelder
ef6bfe8cb2
fix linting errors
2016-01-03 12:17:43 +01:00
Jorik Tangelder
986647be59
improve IE support
...
removes ActiveXObject support, and improves detection of XDomainRequest.
2016-01-03 12:08:09 +01:00
Matt Zabriskie
82847f737e
Fixing config weirdness
2015-12-24 11:44:46 -07:00
Anth Winter
0545573798
Added condition to check for IE version before using XDomainRequest
2015-12-24 12:05:55 +00:00
Matt Zabriskie
f28a4a8248
Using more strict eslint rules
2015-12-14 20:06:57 -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
Julia Gao
fd2339cf5c
got rid of the colon after Basic, test passed
2015-12-14 12:37:19 -07:00
Matt Zabriskie
c566567420
Better import statement
2015-12-14 12:15:53 -07:00
Sam Julien
415ff773cc
Add check for withCredentials in XHR adapter ( #138 )
2015-12-11 12:16:57 -08:00
Matt Zabriskie
085f95f9ce
Better formatting
2015-12-11 12:38:23 -07:00
Matt Zabriskie
07b177f347
Removing unwanted user/pass for auth
2015-12-11 11:39:22 -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
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
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
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
Vineet Hawal
1eac0b1b21
buildUrl helper reference fix in xhr
2015-11-20 15:58:49 +05:30
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
ae3adcd28b
Merge branch 'master' of github.com:mzabriskie/axios
2015-11-19 15:32:55 -07:00
Matt Zabriskie
02a93330ed
Resolving conflicts
2015-11-19 15:32:05 -07:00