use content_type header for compatibility