mimetype
mimetype copied to clipboard
A fast Golang library for media type and file extension detection, based on magic numbers
1) Specify the MIME type and extension for which to add support application/rtf application/x-compress application/x-deb application/x-google-chrome-extension application/x-msdownload application/x-nintendo-nes-rom application/x-unix-archive audio/x-flac font/collection image/vnd.microsoft.icon image/x-canon-cr2 2) Share an example file These MIME...
Given the randomness of fuzzing data, I don't think there is a way to generate and fuzz on valid files (ex: starting from a .docx file, generate other valid .docxs...
Hello, [magic](https://github.com/liamg/magic) is using these MIME [signatures](https://en.wikipedia.org/wiki/List_of_file_signatures). It could be useful if you want to add some. There's Linux [file command](http://astron.com/pub/file/) too (see inside folder magic/).
1. `v1.1.2` changed behaviour of `mimetype.Detect`. (With `v1.1.1` client could read data till second `\n`, to have two lines of CSV, to solve https://github.com/gabriel-vasile/mimetype/issues/138) 2. `v1.3.0` Go 1.17 minimum is...
This adds support for CBOR sequence detection. Official spec for reference: https://www.rfc-editor.org/rfc/rfc8742.html (Related to #172)
First off, I want to say thank you for your hard work on this project! I'm transitioning my critical path code from `h2non/filepath` to `mimetype` due to your better support...
Right now they ask for unneeded info.
1) Specify the MIME type and extension for which to add support application/cbor-seq 2) Share an example file ... 3) Optionally, add a reference to the specification of the file...
1) Specify the MIME type and extension for which to add support application/cbor 2) Share an example file ... 3) Optionally, add a reference to the specification of the file...