Enable HTTP compression
concept brazil Updated Sep 10, 2026 1 min read c_EnablingHTTPCompression.md
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:
Text
Content-Encoding: gzipTo receive the SOAP response compressed using [gzip] send in your SOAP request with the following HTTP header:
Text
Accept-Encoding: gzipParent Topic:SOAP web service
34 lines · 1.1 KB
--- title: Enable HTTP compression description: By default, the SOAP request is accepted un-compressed and the result of the request is returned un-compressed. locale: en-US canonical_url: https://www.servicenow.com/docs/r/api-reference/web-services/c\_EnablingHTTPCompression.html release: brazil product: Web Services classification: web-services topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [SOAP web service, Inbound, Web services, API implementation, API implementation and reference] --- # Enable HTTP compression 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 ``` **Parent Topic:**[SOAP web service](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/c_SOAPWebService.md)
| title | Enable HTTP compression |
| description | By default, the SOAP request is accepted un-compressed and the result of the request is returned un-compressed. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/api-reference/web-services/c\_EnablingHTTPCompression.html |
| release | brazil |
| product | Web Services |
| classification | web-services |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | SOAP web serviceInboundWeb servicesAPI implementationAPI implementation and reference |