1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/md/HTTP-client/Settings/Use-gzip-compression.mdx

45 lines
948 B
Plaintext
Raw Normal View History

2025-05-04 21:43:56 +03:00
---
sidebar_position: 2
2025-05-05 09:49:19 +03:00
description: Enables or disables the header for receiving data from the server in compressed formСтраницы
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, HTTP-client]
2025-05-04 21:43:56 +03:00
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Use Gzip compression
Enables or disables the header for receiving data from the server in compressed form
`Function UseGzipCompression(Val Flag) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Flag | - | Boolean | ✔ | Flag for gzip using |
Returns: DataProcessorObject.OPI_HTTPClient - This processor object
<br/>
:::tip
By default, the response from the server is requested with gzip compression
:::
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```