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

20 Commits

Author SHA1 Message Date
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
Matt Zabriskie 203cbc2da0 Moving settle & transformData from helpers/ -> core/ 2016-06-01 13:54:38 -06:00
Nick Uraltsev f20490eb6b Adding support for URLSearchParams 2016-05-07 12:26:28 -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
Matt Zabriskie dcbb352262 Moving test helpers and auto-loading them 2016-03-07 13:21:27 -07:00
Matt Zabriskie 7041775943 Changing btoa ponyfill to improve testing 2016-03-03 22:43:16 -07:00
Matt Zabriskie 2b147fb0b7 Moving bind into it's own file 2015-12-14 20:06:16 -07:00
Matt Zabriskie 9ede644b98 Better tests for btoa 2015-12-14 12:16:57 -07:00
Nick Uraltsev 20a25a2783 Add isAbsoluteURL helper 2015-11-21 19:29:53 -08:00
Nick Uraltsev e253b0ef3e Add combineURLs helper 2015-11-21 17:41:02 -08:00
Matt Zabriskie d1940f52bc Restoring buildURL tests 2015-11-20 11:37:41 -07:00
Matt Zabriskie b1d9194622 Fixing file system case issue 2015-11-20 11:36:50 -07:00
Matt Zabriskie 3d65057d71 Making isURLSameOrigin/cookies safe to use in all envs 2015-11-19 15:18:47 -07:00
David Fournier 14ede9e18e Add support third-party library to serialize url params 2015-10-27 11:54:44 +01:00
Jeffrey Horn a130e787c3 return result from callback
returning the result of the callback allows you to chain the promise
like you would expect
2015-09-02 10:43:27 -07:00
Matt Zabriskie 3b10b6a6c5 Merge pull request #49 from maxhoffmann/master
Fixing arrays in get params
2015-07-23 09:08:16 -07:00
Maximilian Hoffmann f44597e38b don’t escape square brackets 2015-07-23 10:46:21 +02:00
Andrew Gibb 4f1101fe4b Fixing isArrayLike to allow length as a param. Added test 2015-07-21 14:29:24 +10:00
Maximilian Hoffmann 594df987f2 fix array params 2015-05-27 13:32:34 +02:00
mzabriskie fc12b933f7 Moving many nodeunit tests to jasmine 2015-03-18 17:12:51 -06:00