Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
HttpCompression
Specifies the compression algorithm applied to the body of an HTTP request when calling HttpService:RequestAsync() or HttpService:PostAsync(). Pass this enum value in the Compress field of the request options table to reduce bandwidth when sending large payloads.
Items
| Name | Value | Description |
|---|---|---|
| None | 0 | No compression is applied to the request body. This is the default. |
| Gzip | 1 | The request body is compressed using the Gzip algorithm before being sent. |
None
No compression is applied to the request body. This is the default.
| Field | Value |
|---|---|
| value | 0 |
Gzip
The request body is compressed using the Gzip algorithm before being sent.
| Field | Value |
|---|---|
| value | 1 |