axios-axios/lib/helpers
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
..
bind.js Moving bind into it's own file 2015-12-14 20:06:16 -07:00
btoa.js Changing btoa ponyfill to improve testing 2016-03-03 22:43:16 -07:00
buildURL.js Adding support for URLSearchParams 2016-05-07 12:26:28 -07:00
combineURLs.js Fixing combineURLs to support an empty relativeURL (#581) 2016-12-07 21:23:45 -08:00
cookies.js Using more strict eslint rules 2015-12-14 20:06:57 -07:00
deprecatedMethod.js Using more strict eslint rules 2015-12-14 20:06:57 -07:00
isAbsoluteURL.js Add isAbsoluteURL helper 2015-11-21 19:29:53 -08:00
isURLSameOrigin.js Using more strict eslint rules 2015-12-14 20:06:57 -07:00
normalizeHeaderName.js Adding support for URLSearchParams 2016-05-07 12:26:28 -07:00
parseHeaders.js Using more strict eslint rules 2015-12-14 20:06:57 -07:00
README.md Adding README to modules 2016-06-01 13:16:16 -06:00
spread.js Using more strict eslint rules 2015-12-14 20:06:57 -07:00

axios // helpers

The modules found in helpers/ should be generic modules that are not specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like:

  • Browser polyfills
  • Managing cookies
  • Parsing HTTP headers