Properly set Content-Type