Use compress for HTTP API response.