fix #16703; revert most of #16480; add tests/stdlib/tmimetypes.nim (#16711)

This commit is contained in:
Timothee Cour 2021-01-13 14:52:59 -08:00 • committed by GitHub
commit fee5fbc722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 50 deletions

View file

@ -84,9 +84,6 @@
- Added `httpcore.is1xx` and missing HTTP codes.
- Added `jsconsole.jsAssert` for JavaScript target.
- Added `mimetypes.mimesExtMaxLen` thats equal to the length of the longest "ext" from `mimes`.
- Added `mimetypes.mimesMaxLen` thats equal to the length of the longest "mime" from `mimes`.
- Added `posix_utils.osReleaseFile` to get system identification from `os-release` file on Linux and the BSDs.
https://www.freedesktop.org/software/systemd/man/os-release.html