Skip to content

allow to add custom extension to mime type mapping #10

Closed
@dbu

Description

@dbu

ApacheMimetypeHelper has a hardcoded map of file extension to mime type map. It should be possible for the user to add custom mappings, overwrite mappings or remove mappings.

ApacheMimetypeHelper should have a constructor argument for additional mappings and merge those with its default mappings. Right now the only way to do this is extend ApacheMimetypeHelper and inject it with MultipartStreamBuilder::setMimetypeHelper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions