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
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
Tyler Brown
fb08e95603
Duplicate header handling ( #874 )
...
* Update parseHeaders to match node http behavior
Node ignores duplicate entries for certain HTTP headers.
It also always converts the `set-cookie` header into an array.
* add tests for new duplicate header handling
* clarify comment
2017-08-12 14:58:10 +02:00
Haven
2b8562694e
Fixing baseURL not working in interceptors ( #950 )
...
* Fixing baseURL not working in interceptors
* add test for modify base URL in request interceptor
2017-08-12 14:15:27 +02: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
杨春旭
e4e32120ce
Convert the method parameter to lowercase
2017-05-31 22:53:11 +08:00
Nick Uraltsev
d1278dfe35
Merge pull request #887 from fgnass/no-buffer-in-browser
...
No buffer in browser
2017-05-30 19:31:42 -07:00
Martin Joiner
1beb245f3a
Fixing typo in comment blocks of createError() and enhanceError() functions ( #857 )
2017-05-28 22:03:40 +02: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
Felix Gnass
c82753ce54
Use is-buffer instead of Buffer.isBuffer
...
The is-buffer module checks if an object is a Buffer without causing
Webpack or Browserify to include the whole Buffer module in the bundle.
2017-05-04 23:41:52 +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
2fe95621b0
Merge pull request #461 from theikkila/master
...
Add OPTIONS-method as a shortcut
2017-03-26 21:06:24 -07: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
Nick Uraltsev
b1b986ddfe
Merge pull request #671 from 38elements/adapter
...
Fixing docs for adapters
2017-03-01 22:46:02 -08:00
Nick Uraltsev
2f98d8fcdb
Merge pull request #731 from Viktor6713/master
...
Proper detection of react-native in isStandardBrowserEnv function
2017-03-01 22:04:54 -08:00
Nick Uraltsev
5df39d8fa0
Check that navigator is defined
2017-03-01 21:52:42 -08:00
Viktor
603bd2f66c
added proper detection of react-native in isStandardBrowserEnv function
2017-02-25 12:14:43 +01:00
John Henson
7529be298c
Fix typo - forEachMethodNoData
...
forEachMehtodNoData => forEachMethodNoData
2017-02-05 21:22:40 -05: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
Lochlan Bunn
fe7d09bb08
Fixing combineURLs to support an empty relativeURL ( #581 )
...
* Fixing combineURLs to support an empty relativeURL
When combining the base and relative URLs, we should forego force
appending a slash to the base when the relative URL is empty.
This leads to a semantic url.
* Fixing combineURLs, allowing single slash relatives
2016-12-07 21:23:45 -08:00
Dominykas Blyžė
eaba7875fc
remove PROTECTION_PREFIX support
2016-11-28 11:16:55 +00:00
Nick Uraltsev
6d0e19343a
Fixing bug with custom intances and global defaults
2016-11-26 18:17:21 -08:00
Nick Uraltsev
d963368960
Adding get, head, and delete to defaults.headers
2016-10-29 22:57:53 -07: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
Teemu Heikkilä
2e0adc1cae
Add OPTIONS-method as a shortcut
2016-09-29 18:54:17 +03:00
Nick Uraltsev
e9fbe959d2
Updating dispatchRequest to use isCancel instead of instanceof
2016-09-23 15:58:25 -07:00
Nick Uraltsev
032916e116
Merging master
2016-09-23 15:54:47 -07:00
Matt Zabriskie
b718ebfb21
Merge pull request #437 from rubennorte/adapters-in-global-defaults
...
Moving default adapter to global defaults
2016-09-21 23:09:51 -06:00
Nick Uraltsev
216e2a6787
Adding axios.isCancel method
2016-09-21 18:47:37 -07:00
Nick Uraltsev
72dd897bb5
Adding cancellation support
2016-09-17 11:52:56 -07:00
Nick Uraltsev
df50698d5a
Merge branch 'master' into cancel
2016-09-15 21:09:29 -07:00
Nick Uraltsev
b2bc3354ac
Adding Cancel and CancelToken classes
2016-09-15 21:06:32 -07:00
Nick Uraltsev
436d14b976
Fixing issue with responseURL property
...
`responseURL` is not supported in IE
2016-09-12 11:38:28 -07:00
Nick Uraltsev
4c4e648f40
Replacing Object.hasOwnProperty with Object.prototype.hasOwnProperty
2016-09-12 11:26:40 -07:00
Matt Zabriskie
85548964a6
Merge pull request #440 from kenvunz/patch-2
...
Add exception for file protocol request
2016-09-12 11:44:32 -06:00
Tony L. Kerz
077153a0a7
[for-each] has-own-prop issue node
2016-09-11 09:15:22 -04: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