-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorrect content-type for tarfile from /api/v0/get #7959
Comments
I don't think we want to touch The proper fix here is to add support for Rationale: |
As noted in #7746 (comment), the response to
/api/v0/get?arg=/path/to/a/directory
correctly results in a tarfile, but with the wrongContent-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 thearchive
andcompress
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.
The text was updated successfully, but these errors were encountered: