Justin Beckwith
22c2baf205
chore: upgrade eslint and add fix command
2018-04-06 21:50:26 -07:00
Justin Beckwith
c65065ac0f
capture errors on request data streams
2018-03-15 22:12:42 -07:00
Nick Uraltsev
9a6abd789f
Merge pull request #869 from johntron/master
...
Adds option to specify character set in responses (with http adapter)
2018-03-10 09:13:04 -08:00
Nick Uraltsev
4fbf084674
Merge pull request #1040 from pbarbiero/pbarbiero/improved-timeout-handling
...
Decorate resolve and reject to clear timeout in all cases
2018-03-08 09:35:58 -08:00
mattridley
762044e453
Fixing #537 Rejecting promise if request is cancelled by the browser
2018-03-05 16:11:55 +00:00
Emily Morehouse
ccc78899bb
Merge pull request #1070 from Starfox64/master
...
Adding support for UNIX Sockets
2018-02-16 17:05:48 -07:00
Tim Garthwaite
89bf42b946
Fix typo
2018-01-11 12:54:29 -05:00
Tim Garthwaite
e452f761f7
Don't set maxBodyLength in follow-redirects if maxContentLength is -1
2018-01-11 10:44:40 -05:00
Tim Garthwaite
bbfa7bfacc
Fixing maxBodyLength exceeded error form follow-redirects when axios's maxContentLength is not exceeded
2018-01-11 08:55:02 -05:00
Nick Uraltsev
b7d8d126da
Removing unnecessary condition
2017-11-11 15:09:02 -08:00
Andrew J. Pierce
468e90993d
Move window defined check before window.XMLHttpRequest check
2017-11-02 18:57:12 -04:00
Nick Uraltsev
fbb5d4d0d1
Merge pull request #1080 from MarshallOfSound/patch-1
...
Allow overriding the used transport
2017-10-24 07:58:13 -07:00
Nick Uraltsev
26b06391f8
Update links
2017-09-28 21:09:47 -07:00
Nick Uraltsev
17e44c8ec9
Merge pull request #982 from ibci/use-XMLHttpRequest-for-IE10+
...
Use XMLHttpRequest in IE10+ instead of XDomainRequest
2017-09-27 21:22:09 -07:00
Samuel Attard
b01ce193a5
Allow overriding the used transport
...
This allows users of axios inside `electron` to provide the [`net`](https://electron.atom.io/docs/api/net/ ) module as the http transport instead of using nodes http/https modules. This gives a whole bunch of things to Electron users including automatic proxy resolution.
2017-09-10 02:04:00 +10:00
Starfox64
85a48b2eaa
Adding support for UNIX Sockets
2017-09-04 17:06:19 +02:00
John Syrinek
7340c5d5fb
Adds option to specify character set in responses when using http adapter
2017-08-16 18:36:01 -05:00
Julien Roncaglia
07a7b7c84c
Adding a way to disable all proxy processing ( #691 )
...
* Adding a way to disable all proxy processing
When the proxy field in configuration is === false all proxy processing is
disabled. This specifically disable the 'http_proxy' environment variable
handling.
Fixes #635
Related to #434
* Change readme wording
From review comment on PR (#691 )
2017-08-14 13:38:44 +02:00
pbarbiero
fa3c6d22f7
Decorate resolve and reject to clear timeout
2017-08-12 15:37:12 -05:00
Raymond Rutjes
f1fb3de38f
refactor(http): use ClientRequest "aborted" value ( #966 )
2017-07-10 09:50:43 +02:00
ibci
e8edb1e29a
Update xhr.js
2017-06-27 13:20:45 -07:00
Felix Gnass
c8494677bb
use Buffer global in http.js
...
Since the http adapter is never used in the browser it's safe to use
the Buffer global and its isBuffer() method directly.
2017-05-04 23:43:59 +02:00
Rubén Norte
22ce6db383
Adding request to error objects when it is available
2017-04-08 21:44:15 +02:00
Nick Uraltsev
fa582233af
Merge pull request #828 from mzabriskie/feature/return-last-request-in-redirects
...
Return the last request made in axios response
2017-04-08 11:26:05 -07:00
Jeremy Fowler
188334439f
support node buffers less than 8192 bytes ( #773 )
2017-04-08 13:55:34 +02:00
Rubén Norte
84d9a41850
Adding code to assign the last request to axios response
2017-04-08 12:47:20 +02:00
Nick Uraltsev
fe810b1e3c
Merge pull request #654 from k-italy/master
...
Fixing condition of suppressing DOMException caused by XHR Level 2 Incompatible Browsers
2017-03-01 22:55:07 -08:00
Nick Uraltsev
b053f4b1b9
Fixing typo
2017-03-01 22:54:44 -08:00
38elements
cb2e356315
Fixing document for adapter
2017-01-30 15:35:41 +09:00
Itaru Kitagawa
142bce1fb0
See config.responseType instead of request.responseType when suprressing DOMException
2017-01-16 14:28:38 +09:00
Nick Uraltsev
417913bf8b
Fixing issue with btoa and IE
2016-10-28 21:19:27 -07:00
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
Nick Uraltsev
436d14b976
Fixing issue with responseURL property
...
`responseURL` is not supported in IE
2016-09-12 11:38:28 -07:00
kenvunz
8813068958
Add exception for file protocol request
...
Without this patch, it's not possible using `axios` for fetching local content for `cordova/phonegap` applications
2016-09-08 12:49:11 +07:00
Hubert Boma Manilla
93ae90ae6e
Adding support for http_proxy and https_proxy environment variables
2016-08-24 09:05:26 -07:00
Dylan Lundy
63f41b53aa
Splitting progress event handlers into upload and download handlers
2016-08-22 21:52:59 -07:00
Marco Pracucci
85b9015890
Fixing xsrf header on missing xsrfCookieName
2016-08-08 14:31:11 +02: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
Matt Zabriskie
7a12f36602
Only use if it's a function
2016-06-23 13:59:03 -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