Mime should say something 🗨
...and today I got bitten by a capsule returning images with no MIME type. My client rendered the content as gemtext, giving megabytes of gibberish.
I suppose there are two choices for client fixing:
- an error page if there's no MIME type (seems harsh)
- guess what the content is (would work in this particular case, but plenty of scope for failure)
I suppose I should let the capsuleer know that they are breaking the spec...