3 ms·
file document document: HTML document, UTF-8 Unicode text You can distinguish between media types without using the Content-Type header or out-of-band commun
by icebraining 13y ago
file document
document: HTML document, UTF-8 Unicode text
You can distinguish between media types without using the Content-Type header or out-of-band communication. In fact, there's a (non-standard) header for preventing some browsers from replacing the Content-Type value with their own guess.
It's obviously useful, especially for distinguishing between similar media types (e.g. JSON document with different schemas), but not necessary for HATEOAS.