Control codes are documented in a standard for use in terminals. So not all standards are valued?
A terminal program should follow the terminal standard by all means. But a web service advertising one Content-Type but delivering another Content-Type is a violation of the web standards.