Maximum MIME type length when storing the type in a database

According to RFC 4288 “Media Type Specifications and Registration Procedures”, type (eg. “application”) and subtype (eg “vnd…”) both can be max 127 characters. So including the slash, the maximum length is 255. Edit: Meanwhile, that document has been obsoleted by RFC 6838, which does not alter the maximum size but adds a remark: Also note … Read more

Using plus sign in custom internet media types (MIME types)

The procedure for registering new suffixes is now defined in “+json” will be defined in a separate document; right now: And no, you are not supposed to have multiple subtypes there.

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”

This error usually happens because you deployment was into a subfolder, so it seems like Angular is fetching you app directly from your base URL, so your html is found when you go to your, but as the Angular fetches your resources from instead of; I’m pretty sure this is the cause … Read more

MIME type for a directory

On Ubuntu, a directory mimetype is inode/directory If you run, on Ubuntu: $ mimetype /home/<your username> /home/<your username>: inode/directory There is a “text/directory” in the IANA standards ( and but it was marked “deprecated”.