Skip to content

incorrect content-type for tarfile from /api/v0/get #7959

Closed
@DeedleFake

Description

@DeedleFake

As noted in #7746 (comment), the response to /api/v0/get?arg=/path/to/a/directory correctly results in a tarfile, but with the wrong Content-Type, making this a bit of a pain to use as a link to send someone who isn't using IPFS to share a directory with them as it just displays junk info into their browser. This is true regardless of the settings of the archive and compress options.

While I'd prefer direct support in the gateway for sharing purposes, this should probably also be fixed, and would certainly work as a stopgap until that support can be added.

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