1 min read

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

NameValueDescription
None0No compression is applied to the request body. This is the default.
Gzip1The request body is compressed using the Gzip algorithm before being sent.

None

No compression is applied to the request body. This is the default.

FieldValue
value0

Gzip

The request body is compressed using the Gzip algorithm before being sent.

FieldValue
value1