That control codes are documented in a standard is orthogonal to the HTTP standard.
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.