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

60 Commits

Author SHA1 Message Date
Marc Mignonsin df6d3ce6cf Support proxy auth (#483)
* Adding proxy auth
2016-10-19 11:02:42 +02:00
Michael McDermott 7c89704262 Default to using "http:" protocol in http adapter
Fixes #490
2016-10-18 10:59:38 -04:00
Matt Zabriskie b21a280df0 Merge pull request #491 from Jarlotee/patch-1
Fix proxy bugs
2016-10-18 08:59:19 -05:00
Nick Uraltsev 3fcf54ff36 Fixing issue with calling cancel after response has been received 2016-10-17 18:20:13 -07:00
Jared Lotti ce1ecdae7a forgot to add optional port 2016-10-17 15:24:17 -04:00
Jared Lotti 5c4ca4ccc4 fix proxy bugs 2016-10-17 15:18:18 -04:00
Nick Uraltsev 72dd897bb5 Adding cancellation support 2016-09-17 11:52:56 -07:00
Hubert Boma Manilla 93ae90ae6e Adding support for http_proxy and https_proxy environment variables 2016-08-24 09:05:26 -07:00
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