n8n/packages
कारतोफ्फेलस्क्रिप्ट™ bba95761e2
fix(core): Prevent axios from force setting a form-urlencoded content-type (#8117)
[Since v1 axios is force-setting a content-type of
`application/x-www-form-urlencoded` on POST/PUT/PATCH requests, even if
they have no
payload](https://github.com/axios/axios/blob/v1.x/lib/core/dispatchRequest.js#L45-L47).
This is causing nodes that do not support form-urlencoded bodies to
fail.
By setting the content-type to `false` (if a content-type wasn't already
set), we force axios to not overwrite this header.

[Workflows tests](https://github.com/n8n-io/n8n/actions/runs/7288103743/job/19860060607)
2023-12-21 13:32:04 +01:00
..
@n8n feat: Add option to returnIntermediateSteps for AI agents (#8113) 2023-12-21 10:27:49 +01:00
@n8n_io/eslint-config feat(editor): De-duplicate frontend devDependencies (no-changelog) (#8094) 2023-12-19 17:43:46 +01:00
cli fix: Stop binary data restoration from preventing execution from finishing (#8082) 2023-12-21 09:40:39 +00:00
core fix(core): Prevent axios from force setting a form-urlencoded content-type (#8117) 2023-12-21 13:32:04 +01:00
design-system feat(editor): Upgrade frontend tooling to address a few vulnerabilities (#8100) 2023-12-19 19:23:55 +01:00
editor-ui feat(editor): Finalize workers view (#8052) 2023-12-20 17:49:14 +01:00
node-dev 🚀 Release 1.21.0 (#8019) 2023-12-13 16:34:00 +01:00
nodes-base feat(Respond to Webhook Node): Overhaul with improvements like returning all items (#8093) 2023-12-21 13:03:26 +01:00
workflow refactor(core): Improve test-webhooks (no-changelog) (#8069) 2023-12-19 17:32:02 +01:00