MIME type offered for webp downloads is possibly incorrect? #2750
-
Posting here as I'm not sure if it's an issue in SD.Next or upstream Gradio. I've noticed that if you set webp as image format, the MIME type of the download is wrongly set as
But at least looking at the file's magic number identifies it as webp:
This is problematic for example if you want to download images from mobile, as they will be interpreted as text. However I'm not sure if this is a problem with Gradio (a quick glance at their issue tracker did not show anything) or in SD.Next itself. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
it is a gradio thing, but i can still provide additional mime types from sdnext - its fixed in dev. |
Beta Was this translation helpful? Give feedback.
it is a gradio thing, but i can still provide additional mime types from sdnext - its fixed in dev.