---
sourceDocument: Yokohama API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/api-reference

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Enable HTTP compression

# Enable HTTP compression {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
By default, the SOAP request is accepted un-compressed and the result of the request is
returned un-compressed.  
To enable HTTP compression using \[gzip\] when sending in your SOAP request, set the following HTTP header:

    Content-Encoding: gzip

To receive the SOAP response compressed using \[gzip\] send in your SOAP request with the following HTTP header:

    Accept-Encoding: gzip


