Christian Schuhmann
1ffcbb0369
Fixing Authorization header with basic auth
...
The http adapater did not remove a custom Authorization header when auth is set.
2016-08-04 08:34:07 +02:00
Rubén Norte
4c790d5a7a
Replacing 'agent' option with 'httpAgent' and 'httpsAgent'
2016-07-22 21:10:58 +02:00
Rubén Norte
157efd5615
Changing adapter signature to receive config and return promises
2016-07-09 21:30:16 +02:00
Matt Zabriskie
10eb238651
Move transform response logic from adapters to dispatcher
2016-06-23 15:11:35 -06:00
Nick Uraltsev
91dae3c4ad
Improve error handling
2016-06-13 13:56:08 -07:00
Matt Zabriskie
203cbc2da0
Moving settle & transformData from helpers/ -> core/
2016-06-01 13:54:38 -06:00
Nick Uraltsev
4e7ca3dea3
Resolving conflicts and modifying http adapter to not change status code error range
2016-05-31 17:53:45 -07:00
Nick Uraltsev
94a2128549
Resolving merge conflicts
2016-05-18 19:44:21 -07:00
Nick Uraltsev
fa9444e0ba
Allow custom HTTP status code error ranges ( #308 )
...
Adding support for custom HTTP status code error ranges
2016-04-26 14:18:58 -06:00
dublx
a04077a17d
Choose between follow-redirects or core
2016-04-22 15:47:16 +01:00
Josh
716e487038
Fixing handling of compression errors
2016-04-20 01:26:45 +02:00
Nick Uraltsev
d23f9d5d47
Add support for Stream
2016-04-14 17:38:35 -07:00
Nick Uraltsev
4de17bca09
Fix request path for proxied requests
2016-04-08 16:41:51 -07:00
msangui
775ca3e732
Added proxy option to http.js
2016-04-08 16:17:03 -07:00
Nick Uraltsev
a913ea56c1
Merge pull request #200 from AurelioDeRosa/patch-1
...
Expose XHR instance
2016-03-31 20:08:58 -07:00
bomsy
fefa23a8dd
Adding config option to restrict based on the size of the response co…
2016-03-25 23:50:52 +00:00
Aurelio De Rosa
ab361ac169
Expose XHR instance
...
Fixes gh-64
2016-03-06 12:25:33 +00:00
Matt Zabriskie
6d84717cba
Updating dependencies
2016-03-05 23:16:16 -07: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
Matt Zabriskie
7a16f72895
Improving logic for handling timeout in node
...
closes #124
2016-01-22 16:27:54 -07:00
Gary Chambers
f44d9ce677
Fixing redirect behaviour
2016-01-19 14:51:14 +00:00
Matt Zabriskie
82847f737e
Fixing config weirdness
2015-12-24 11:44:46 -07:00
Matt Zabriskie
f28a4a8248
Using more strict eslint rules
2015-12-14 20:06:57 -07:00
Matt Zabriskie
07b177f347
Removing unwanted user/pass for auth
2015-12-11 11:39:22 -07:00
Harry Lachenmayer
19cbca0c71
Add HTTP basic authentication for Node.
2015-12-09 11:27:47 +02:00
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
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
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
ffc0237a17
Adding support for timeout config
...
closes #56
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
db85c7bf3a
Fixing issue with User-Agent getting overridden
...
closes #69
2015-06-18 21:19:46 -06:00
mzabriskie
60a82ef424
Changing to file level use strict statement
2015-03-18 17:21:15 -06:00
mzabriskie
a98c61f458
Adding ESLint
2015-03-17 14:14:26 -06:00
mzabriskie
69af75623c
Adding statusText to response
...
closes #46
2015-03-13 17:07:52 -06:00
mzabriskie
0412c7666e
Fixing issue with multibyte characters in node
...
closes #38
2015-02-02 22:04:18 -07:00
mzabriskie
5fce14d9ec
Adding error handling to request for node.js - closes #18
2014-10-15 10:29:40 -06:00
mzabriskie
1b803fb233
Moving stuff to helpers/
2014-09-22 11:12:24 -06:00
mzabriskie
edb0c3ce24
Better User-Agent name
2014-09-22 10:48:44 -06:00
mzabriskie
94b2352438
Adding SSL support for node.js - #12
2014-09-21 16:18:08 -06:00
Mathieu Bruyen
9d5a8781e3
Handle UTF-8 multibyte sequences in node
...
Content-length header was set to the length of the string, which
does not take into account multibyte sequences in UTF-8 strings.
Now converts first to a buffer to get the proper length.
2014-09-21 17:48:26 +02:00
Mathieu Bruyen
095a204c5b
Allow ArrayBuffer and related views as data
...
In order to push binary data under the form of ArrayBuffer and
its related views (Int8Array, ...) one needs not to stringify
those.
For the XHR adapter there is nothing to do as it natively supports
ArrayBuffer in req.send().
Node's http adapter supports only string or Buffer thus a
transformation to Buffer is required before setting content length
header.
2014-09-18 09:17:46 +02:00
mzabriskie
e1aa04ccee
Fixing issue #3
2014-09-16 18:23:31 -06:00