Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whatwg/mimesniff
MIME Sniffing Standard
https://github.com/whatwg/mimesniff
mime mime-types sniffing standard whatwg
Last synced: 3 months ago
JSON representation
MIME Sniffing Standard
- Host: GitHub
- URL: https://github.com/whatwg/mimesniff
- Owner: whatwg
- License: other
- Created: 2012-09-28T12:42:51.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T14:27:43.000Z (4 months ago)
- Last Synced: 2024-07-16T13:46:46.999Z (4 months ago)
- Topics: mime, mime-types, sniffing, standard, whatwg
- Language: HTML
- Homepage: https://mimesniff.spec.whatwg.org/
- Size: 1.45 MB
- Stars: 106
- Watchers: 28
- Forks: 45
- Open Issues: 60
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **51**星
README
This repository hosts the [MIME Sniffing Standard](https://mimesniff.spec.whatwg.org/).
## Code of conduct
We are committed to providing a friendly, safe, and welcoming environment for all. Please read and respect the [Code of Conduct](https://whatwg.org/code-of-conduct).
## Contribution opportunities
Folks notice minor and larger issues with the MIME Sniffing Standard all the time and we'd love your help fixing those. Pull requests for typographical and grammar errors are also most welcome.
Issues labeled ["good first issue"](https://github.com/whatwg/mimesniff/labels/good%20first%20issue) are a good place to get a taste for editing the MIME Sniffing Standard. Note that we don't assign issues and there's no reason to ask for availability either, just provide a pull request.
If you are thinking of suggesting a new feature, read through the [FAQ](https://whatwg.org/faq) and [Working Mode](https://whatwg.org/working-mode) documents to get yourself familiarized with the process.
We'd be happy to help you with all of this [on Chat](https://whatwg.org/chat).
## Pull requests
In short, change `mimesniff.bs` and submit your patch, with a [good commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md).
Please add your name to the Acknowledgments section in your first pull request, even for trivial fixes. The names are sorted lexicographically.
To ensure your patch meets all the necessary requirements, please also see the [Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md). Editors of the MIME Sniffing Standard are expected to follow the [Maintainer Guidelines](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md).
## Tests
Tests are an essential part of the standardization process and will need to be created or adjusted as changes to the standard are made. Tests for the MIME Sniffing Standard can be found in the `mimesniff/` directory of [`web-platform-tests/wpt`](https://github.com/web-platform-tests/wpt).
A dashboard showing the tests running against browser engines can be seen at [wpt.fyi/results/mimesniff](https://wpt.fyi/results/mimesniff).
## Building "locally"
For quick local iteration, run `make`; this will use a web service to build the standard, so that you don't have to install anything. See more in the [Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md#building).