pub(crate) const DEFAULT_MIN_SIZE: usize = 1024;
pub(crate) const ENCODING_GZIP: &str = "gzip";
pub(crate) const ENCODING_BROTLI: &str = "br";
pub(crate) const TEXT_EVENT_STREAM: &str = "text/event-stream";
pub(crate) const SEPARATOR_COMMA: &str = ",";
pub(crate) const TOKEN_ANY: &str = "*";
pub(crate) const PARAMETER_QUALITY: &str = "q=";
pub(crate) const CONTENT_TYPES_COMPRESSED: [&str; 6] = [
"application/zip",
"application/gzip",
"application/x-gzip",
"application/x-bzip2",
"application/x-xz",
"application/zstd",
];
pub(crate) const CONTENT_TYPE_PREFIXES_COMPRESSED: [&str; 4] =
["image/", "video/", "audio/", "font/"];