Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an opportunity to change content-type response header via response interceptors #215

Open
MiaInturi opened this issue Jan 13, 2025 · 0 comments
Labels
invalid This doesn't seem right [email protected] issues for [email protected]

Comments

@MiaInturi
Copy link
Collaborator

Now, regardless of the content-type response header set in the response interceptor, the server always returns application/json as the content-type of the response due to the use of the response.json method. Need to handle cases where the user explicitly sets the content-type header and avoid overriding it.

@MiaInturi MiaInturi added invalid This doesn't seem right [email protected] issues for [email protected] labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right [email protected] issues for [email protected]
Projects
None yet
Development

No branches or pull requests

1 participant