MIME type mappings #14

Open
opened 2024-03-17 09:07:31 +01:00 by Jef Roosens · 0 comments

It would make sense for LNM to provide a way to easily set the response MIME type depending on the file extension of the request path.

For this, LNM should build a trie at startup that maps file extensions to their mime types, as well as providing an API to use this framework.

It would make sense for LNM to provide a way to easily set the response MIME type depending on the file extension of the request path. For this, LNM should build a trie at startup that maps file extensions to their mime types, as well as providing an API to use this framework.
Jef Roosens added the
enhancement
label 2024-03-17 09:07:31 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/lnm#14
There is no content yet.