Controller will now set Content-Type header if not set before.