Set the appropriate Content-Type header