edgi-govdata-archiving / web-monitoring-ui

UI to enable analysts to quickly assess changes to monitored government websites
GNU General Public License v3.0
37 stars 38 forks source link

Use correct name for media type "essence" #1041

Closed Mr0grog closed 1 year ago

Mr0grog commented 1 year ago

Back when I made our representation for media types, I was trying to figure out the right name of the {type}/{subtype} (without parameters) string form of the media type because I wasn't aware there was a correct name. I gave up and just called it mediaType. TIL it is properly referred to as the "essence": https://mimesniff.spec.whatwg.org/#understanding-mime-types