You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot assign to read only property 'set' of object '[object Object]' at setHeader #5768
Sending a request to a specific link that in response, one of his header names is "Set" will cause an "uncaughtException" that cannot be avoided, even by using interceptors, since the setHeader called before the interceptors for the response handling.
TypeError: Cannot assign to read only property 'set' of object '[object Object]'\n at setHeader
(/app/node_modules/axios/dist/node/axios.cjs:1651:30)\n at /app/node_modules/axios/dist/node/axios.cjs:1656:51\n at
Object.forEach (/app/node_modules/axios/dist/node/axios.cjs:293:10)\n at setHeaders
(/app/node_modules/axios/dist/node/axios.cjs:1656:13)\n at AxiosHeaders.set
(/app/node_modules/axios/dist/node/axios.cjs:1659:7)\n at new AxiosHeaders
Activity
fonts-ninja commentedon Jul 21, 2023
Same issue on GET http://mindfold.com/
This occurs when a 'set' response header exists.
fix(core): resolve assignment to read-only 'set' property