Skip to content

Gateway content type detection : ODS documents served as ZIP (MIME) #7252

Closed
@hsanjuan

Description

@hsanjuan

Version information: 0.5.0

Description:

It seems http.DetectContentType does not work well for these types.

We could switch to https://github.com/gabriel-vasile/mimetype ? (also see https://stackoverflow.com/a/52266327 for more options). Unsure if there is a reason have have sticked with the current detector.

Related #2164

Reported at https://discuss.ipfs.io/t/bugs-in-0-5-0-regarding-file-names-types/7845

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps upeffort/hoursEstimated to take one or several hoursexp/noviceSomeone with a little familiarity can pick upgood first issueGood issue for new contributorshelp wantedSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)kind/enhancementA net-new feature or improvement to an existing featurestatus/readyReady to be workedtopic/gatewayTopic gateway

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions