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
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
Rubén Norte
b2745873a1
Moving default adapter to global defaults
2016-09-05 21:30:29 +02: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
Nick Uraltsev
0dfd53f151
Merging master
2016-08-18 20:34:23 -07:00
Nick Uraltsev
5176dfdec5
Converting TypeScript definitions to ES2015 module syntax
2016-08-09 23:17:11 -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
Matt Zabriskie
98d489558e
Transform response data on error
...
closes #378
2016-07-16 11:10:58 -06:00
Rubén Norte
157efd5615
Changing adapter signature to receive config and return promises
2016-07-09 21:30:16 +02:00
Rubén Norte
235c19c876
Implementing adapter error enhacement
2016-07-07 16:05:04 +02:00
Matt Zabriskie
6161754326
Instances created from axios.create have same API as default axios
...
closes #217
2016-06-23 15:43:42 -06:00
Matt Zabriskie
46eee269da
Fixing custom instance defaults
...
closes #341
2016-06-23 15:19:10 -06:00
Matt Zabriskie
10eb238651
Move transform response logic from adapters to dispatcher
2016-06-23 15:11:35 -06:00
Matt Zabriskie
e833a2f7e4
Invoke request transformers after request interceptors
...
closes #352
2016-06-23 14:55:22 -06:00
Matt Zabriskie
f21784ccb8
Removing restriction on withCredentials being overridden
...
closes #343
2016-06-23 14:04:27 -06:00
Matt Zabriskie
7a12f36602
Only use if it's a function
2016-06-23 13:59:03 -06:00
Nick Uraltsev
6f2186d863
Modify createError and enhanceError functions to accept response as parameter
2016-06-13 18:58:55 -07:00
Nick Uraltsev
91dae3c4ad
Improve error handling
2016-06-13 13:56:08 -07:00
Matt Zabriskie
0e2f4f1417
Moving Axios class into core/
2016-06-01 14:42:14 -06:00
Matt Zabriskie
203cbc2da0
Moving settle & transformData from helpers/ -> core/
2016-06-01 13:54:38 -06:00
Matt Zabriskie
eea790b8de
Adding README to modules
2016-06-01 13:16:16 -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
Matt Zabriskie
112f98dc18
Merge pull request #317 from nickuraltsev/urlsearchparams
...
Adding support for URLSearchParams
2016-05-24 20:40:25 -06:00
Nick Uraltsev
94a2128549
Resolving merge conflicts
2016-05-18 19:44:21 -07:00
Nick Uraltsev
2b8d89a65e
Modifying isURLSearchParams function to use instanceof instead of duck typing
2016-05-18 18:47:34 -07:00
Joshua Egan
0d9996b1a0
Adding request function to exported singleton
...
#316
2016-05-17 13:54:34 -07:00