Refused to set unsafe header "cookie" #818
Replies: 2 comments 5 replies
-
Hey, @scottquested. As the error suggests, it looks like you're setting the return res(ctx.set('cookie', 'value')) If that's the case, please use If that's not the case, could you please share your request handlers setup and describe in more detail when exactly this error happens (what kind of request are you making, what handlers do you have, do you expect this response to be mocked). Ideally, to resolve this issue quicker, I'd ask you for a minimal reproduction repository. |
Beta Was this translation helpful? Give feedback.
-
Ok, we have found the issue. Because we are running locally non-https (in fallback mode) this was causing it. Perhaps cookies should not be set in fallback mode in Chrome. We added our url to the flag |
Beta Was this translation helpful? Give feedback.
-
We are getting this error
Refused to set unsafe header "cookie"
only in chromeThought I would ask here first before opening an issue
Beta Was this translation helpful? Give feedback.
All reactions