Open Vincent-Alibert opened 4 years ago
This has changed a bit in RxJS 7. Can you try that out? In particular, it will still add the x-requested-with
header (which is customary for a a library), but in theory, you can override that with a header configuration of 'x-requested-with': undefined
. Let me know if that works for you.
thx for response. I did not try the version 7 of RxJS but add 'x-requested-with': undefined
doesn't removed the Cookie in the header of the request.
I will try this when I upgrade the version in the app
Bug Report
Context: The Ajax observable automatically sends cookies in the request because it is the default behavior of browsers. Because it's a optional parameters. What I would like: Do not send cookies automatically How I try to do it:
what I would have liked A option useHeaderCookie which by default is true and if it is set to false, cookies are not sent
Environment