This fixes various external methods that initialize page output manually, e.g. `core_get_fragment`, which can mess with third party proxies that modify data in transit because of the current default response type header (text/html). Co-authored-by: Mario Torres