Set correct Content-Type header.