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
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
Matt Zabriskie
2781ff650c
Merge pull request #146 from skarbovskiy/master
...
follow redirects
2015-11-19 15:28:39 -07:00
Matt Zabriskie
3d65057d71
Making isURLSameOrigin/cookies safe to use in all envs
2015-11-19 15:18:47 -07:00
moonion
2e4c9285d7
add config.paramsSerializer to http adapter
2015-11-18 16:04:18 +02:00
Konstantin Baumann
b3a4ff03e2
uncompress the response body transparently if required
2015-11-12 11:16:57 +01:00
george.skarbovskiy
cf192f495e
follow redirects
2015-11-06 12:56:21 +02:00
Vineet Hawal
a768ac07cd
remove extra conditions
2015-10-29 15:40:45 +05:30
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
Matt Zabriskie
affe3aaa9a
Merge pull request #139 from ctimmerm/slice-arguments
...
Don't call slice on arguments
2015-10-28 14:52:50 -06:00
Colin Timmermans
d6bcd62e4b
Don't call slice on arguments
...
Calling slice on arguments can prevent optimizations in some JS engines
(see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments ).
2015-10-28 11:25:40 +01:00
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
Matt Zabriskie
68b1b37fd7
Merge pull request #123 from nickuraltsev/master
...
Make axios instantiable
2015-10-27 14:43:21 -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
Konstantin Baumann
84a0ddecd4
http adapter: return a Buffer instead of a String in case of responseType === 'arraybuffer'
2015-10-15 17:28:38 +02: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
mzabriskie
eca2ac88eb
Merge branch 'master' of github.com:mzabriskie/axios
2015-09-28 18:34:10 -06:00
mzabriskie
6aa766e5e9
Adding support for web workers, and react-native
...
closes #70 , closes #98
2015-09-28 18:33:46 -06:00
Milo Mordaunt
1ccd4161c7
Added defaults.timeout to default config.
2015-09-24 15:53:41 -03: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
Matt Zabriskie
2a6d7c2a38
Merge pull request #102 from nlf/master
...
allow passing an agent through to node http requests, closes #68
2015-09-21 16:44:06 -06:00
mzabriskie
c573a12b74
Fixing issue with minified bundle in IE8
...
closes #87
2015-09-21 16:25:00 -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
Davis Barber
261e41644d
Add 'progress' config option for monitoring progress events for uploads and downloads.
2015-08-26 17:32:19 -04:00
mzabriskie
e49237ce01
Removing es6-promise dependency
2015-08-10 19:00:27 -06:00
mzabriskie
ffc0237a17
Adding support for timeout config
...
closes #56
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
Nathan LaFreniere
11c0b0aa10
allow passing an agent through to node http requests, closes #68
2015-08-05 12:13:16 -07: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
Matt Zabriskie
63ac064c88
Merge pull request #85 from tomaash/patch-1
...
In browsers check for XMLHttpRequest, not window
2015-07-23 09:07:24 -07:00
Tomáš Holas
72fc02f2a5
XHR browser check now works in IE8
...
Test for ActiveXObject
2015-07-23 14:19:14 +02:00
Maximilian Hoffmann
2209226c7c
fix missing dot
2015-07-23 10:49:12 +02: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
Tomáš Holas
ca42bb1d2a
In browsers check for XMLHttpRequest, not window
...
In nodejs testing environment it's possible to use https://github.com/tmpvar/jsdom library to define a window object, but you still want to use node http adapter. Due to those diverse testing environmnents, I propose to test for XMLHttpRequest directly, because window global object is not a sure sign of a browser environment anymore.
2015-07-13 09:42:27 +02:00