Fixes around Content-Type header