Skip to main content

HEADER_COMPRESS_LEVEL

Constant HEADER_COMPRESS_LEVEL 

Source
pub const HEADER_COMPRESS_LEVEL: &'static str;
Expand description

HTTP header carrying the requested zrip compression level.

Sent by the client on both upload and download; on download the server validates/clamps it and echoes the actual level used back on the same header, so a client can never assume its request was honored verbatim. Absent → the server’s default level.