Fix http_type