Skip to content

Finish mechanism for importing mime types #11

@WebeWizard

Description

@WebeWizard

The File Responder should include a big list of common mime types by default.

However, I think the we should be able to pass in a Vec<(&str,&str)> or... [(&str,&str); 20] to replace the default with a list. If we assume the provided list is smaller than the default, it will perform better. (Imagine a folder of thumbnails where we KNOW the only file type present is .png)

Need to compare Vec vs array performance. What about crates like StackVec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions