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

Use content-type header for the svg hint in NeonImage #2279

Open
Leptopoda opened this issue Jul 16, 2024 · 0 comments
Open

Use content-type header for the svg hint in NeonImage #2279

Leptopoda opened this issue Jul 16, 2024 · 0 comments

Comments

@Leptopoda
Copy link
Member

NeonImage currently guesses the image type by trying to decode it utf8 which might not even be the right encoding.
Use the content-type header as it correctly conveys this information.

This is currently not possible as the RequestManager swallows the headers for our binary requests. This probably depends on the request manager being inlined into the httpClient and other work related to #2155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant