Created
May 12, 2026 08:12
-
-
Save matteopic/0cc75d2c6b98af4b030a61cf9e8d87a3 to your computer and use it in GitHub Desktop.
Common MimeTypes in various languages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package mime | |
| const ( | |
| // TextPlain is the MIME type for plain text. | |
| TextPlain = "text/plain" | |
| // ApplicationJSON is the MIME type for JSON data. | |
| ApplicationJSON = "application/json" | |
| // ApplicationXML is the MIME type for XML data. | |
| ApplicationXML = "application/xml" | |
| // TextHTML is the MIME type for HTML data. | |
| TextHTML = "text/html" | |
| // ApplicationFormURLEncoded is the MIME type for URL-encoded form data. | |
| ApplicationFormURLEncoded = "application/x-www-form-urlencoded" | |
| // MultipartFormData is the MIME type for multipart form data, often used for file uploads. | |
| MultipartFormData = "multipart/form-data" | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment