NAME
Protocol::HTTP::Compression - HTTP parser compression constants
SYNOPSIS
use Protocol::HTTP;
$request->allow_compression(Protocol::HTTP::Compression::gzip);
DESCRIPTION
Contains constants for compression methods and levels.
CONSTANTS
identity
No compression. This is the default value if no compressions are specified.
gzip
Gzip compression
brotli
Brotli compression. Implementation is not included in Protocol::HTTP
. To use it, you need to install Protocol::HTTP::Compression::Brotli
deflate
LZ77 compression. Implementation is not included in Protocol::HTTP
LEVEL_MIN
Minimal level of compression (faster)
LEVEL_OPTIMAL
Optimal level of compression
LEVEL_MAX
Maximum level of compression (slower)