Skip to content

Unreliable Content-Type in CDN #5178

@creeperkatze

Description

@creeperkatze

Please confirm the following.

Describe the bug

The CDN sometimes returns the wrong "Content-Type" header for images.

For example, the file ending and actual data indicate that this is a WebP file, but the CDN returns a "Content-Type" of "image/png":

https://cdn.modrinth.com/data/6QzU7rxN/012de97a44694b847ae2aa272012adfe9c1b9391_96.webp

I don't know if there are more of these or if there is something wrong on Modrinth's end, or if this is just image conversion stuff. Just wanted to report this.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelates to the Modrinth API for developersbackendInvolves work from the backend team

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions