Use cloudi_response_info:lookup_content_type/2 to minimize connection process memory consumption.