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

ipfs get --compress gives incorrect Header #2376

Open
RichardLitt opened this issue Feb 19, 2016 · 1 comment
Open

ipfs get --compress gives incorrect Header #2376

RichardLitt opened this issue Feb 19, 2016 · 1 comment
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@RichardLitt
Copy link
Member

The headers for curl -i "http://localhost:5001/api/v0/get?arg=QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o&compress=true&compression-level=1" are:

Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output
Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output
Content-Type: text/plain
Server: go-ipfs/0.4.0-dev
Trailer: X-Stream-Error
Transfer-Encoding: chunked
X-Stream-Output: 1
Date: Fri, 19 Feb 2016 13:35:17 GMT
Transfer-Encoding: chunked

The Content-Type should be application/x-gzip; charset=binary, not text/plain.

@daviddias daviddias added the kind/bug A bug in existing code (including security flaws) label Apr 12, 2016
@whyrusleeping
Copy link
Member

This one is probably going to wait until @keks finishes his refactor

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)
Projects
None yet
Development

No branches or pull requests

3 participants