MIME type mappings #14

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

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
No description provided.