Add mimetypes.mimesLongest (#16480)
* Allow single alloc mimetypes ops * Allow single alloc mimetypes ops * Update lib/pure/mimetypes.nim Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> * https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190 * https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190 * https://github.com/nim-lang/Nim/pull/16480#issuecomment-753349661 * update changelog Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
This commit is contained in:
parent
73a8b950cb
commit
1d2e2b5a5b
2 changed files with 31 additions and 1 deletions
|
|
@ -81,6 +81,9 @@
|
|||
- 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`.
|
||||
|
||||
|
||||
## Language changes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue