Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add brotli mime type detection to file and libmagic #727
I know, this is not related for the brotli itself but could you send a PR to file and libmagic so they start to recognize brotli mime type?
Also please confirm the correct brotli mime type #724
There is a little problem. Most utilities scan first file bytes and compare them against "magic" bytes.
Brotli was designed to be "stream" format rather than file format. There is a "brotli-framing-format" project that adds tons of features (including "magic header bytes")... but it is not public yet.
If I understood correctly gzip is also can be named as stream format but this is not a problem for them to add few magic bytes.
Where can I read at least something about this framing format? Will we still be able to use regular .br files?