Skip to content
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

HTTP API - Content-Type returned by get command should be application/x-tar #1824

Open
hjoest opened this issue Oct 10, 2015 · 1 comment
Open
Labels
kind/bug A bug in existing code (including security flaws) status/deferred Conscious decision to pause or backlog topic/commands Topic commands

Comments

@hjoest
Copy link

hjoest commented Oct 10, 2015

The get command, e.g. POST /api/v0/get?arg=QmedYJNEKn656faSHaMv5UFVkgfSzwYf9u4zsYoXqgvnch, always returns a TAR stream. However it doesn't set the Content-Type header accordingly. It should be application/x-tar.

@hjoest hjoest changed the title HTTP API - HTTP API - Content-Type returned by get command should be application/x-tar Oct 10, 2015
@whyrusleeping whyrusleeping added kind/bug A bug in existing code (including security flaws) topic/commands Topic commands labels Oct 11, 2015
@jbenet jbenet added the status/in-progress In progress label Nov 24, 2015
@RichardLitt
Copy link
Member

Same for tar cat.

RichardLitt added a commit that referenced this issue May 12, 2016
This is a version of #2004, with CR from @jbenet integrated in, and should close #1824

License: MIT
Signed-off-by: Richard Littauer <[email protected]>
Kubuxu pushed a commit that referenced this issue May 31, 2016
This is a version of #2004, with CR from @jbenet integrated in, and should close #1824

License: MIT
Signed-off-by: Richard Littauer <[email protected]>
@Kubuxu Kubuxu added status/deferred Conscious decision to pause or backlog and removed status/in-progress In progress labels Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) status/deferred Conscious decision to pause or backlog topic/commands Topic commands
Projects
None yet
6 participants