Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:5350:    ({ 1 }) * sizeof(exact_mimes));    http_compr_main_mimes = mkmapping(main_mimes,    ({ 1 }) * sizeof(main_mimes));    };    defvar("http_compression_mimetypes",    ({ "text/*",    "application/javascript",    "application/x-javascript",    "application/json",    "application/xhtml+xml", +  "image/x-icon",    "image/svg+xml" }),    DLOCALE(1002, "Compression: Enabled MIME-types"),    TYPE_STRING_LIST,    DLOCALE(1003, "The MIME types for which to enable compression. The "    "forms \"maintype/*\" and \"maintype/subtype\" are allowed, "    "but globbing on the general form (such as "    "\"maintype/*subtype\" or \"maintype/sub*\") is not allowed "    "and such globs will be silently ignored."))    ->add_changed_callback(lambda(object v)    { set_mimetypes(v->query());