Skip to content

Hide where the resource mapper gets the content type from #150

Closed

Description

@jvherweg

Currently the ResourceMapper has a function getContentTypeFromExtension. We want this to be more generic so it isn't exposed the content-type comes from the file extension (and so we can have other versions as well). One solution is to have mapFilePathToUrl return a tuple with the url and content-type. Would also help for #149 .

Activity

  1. added
    ☀️ enhancement
    on Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ☀️ enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions