2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-21 13:24:11 +03:00
Files
axios/lib/helpers
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
..
2015-12-14 20:06:16 -07:00
2016-05-07 12:26:28 -07:00
2015-12-14 20:06:57 -07:00
2015-11-21 19:29:53 -08:00
2016-06-01 13:16:16 -06:00
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