2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00
Files
axios/lib/helpers
Emiedonmokumo Dick-Boro a9f47afbf3 fix(fetch-adapter): set correct Content-Type for Node FormData (#6998)
* fix(fetch-adapter): set correct Content-Type for Node FormData

* Update lib/helpers/resolveConfig.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* test(fetch): replace chai expect with Node assert

* fix: define formHeaders for FormData to resolve no-undef error

* fix: filter headers to only update the target headers

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-08-25 20:46:53 +02:00
..
2022-06-18 11:19:27 +02:00
2022-06-18 11:19:27 +02:00
2022-06-18 11:19:27 +02:00
2022-06-18 11:19:27 +02:00
2022-06-18 11:19:27 +02:00
2022-06-18 11:19:27 +02:00
2022-06-18 11:19:27 +02:00
2022-06-18 11:19:27 +02:00
2016-06-01 13:16:16 -06:00
2022-06-18 11:19:27 +02: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