Replace (instead of merging) Content-Type header if already sent by the legacy kernel