For intance, text/html, audio/mpeg, etc? Can I safely assume that anything that is text based will actually have text/??? as its content type in the header when the server returns the document?
For intance, text/html, audio/mpeg, etc? Can I safely assume that anything that is text
Share
No, you can’t assume that. There’s types like ‘application/xml’ (which is exactly the same thing as ‘text/xml’, so I have no idea why they came up with that one).