We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From RFC2616#4.4:
Messages MUST NOT include both a Content-Length header field and a non-identity transfer-coding.
The cat http response message includes both a content-length header field and a non-identity transfer-encoding.
cat
proof:
$ echo 'test' > test.txt $ ipfs add test.txt added QmeomffUNfmQy76CQGy9NdmqEnnHU9soCexBnGU3ezPHVH test.txt $ curl -i http://localhost:5001/api/v0/cat?arg=QmeomffUNfmQy76CQGy9NdmqEnnHU9soCexBnGU3ezPHVH HTTP/1.1 200 OK Content-Length: 5 Transfer-Encoding: chunked X-Stream-Output: 1 test
for comparison, the block get output:
block get
$ curl -i http://localhost:5001/api/v0/block/get?arg=QmeomffUNfmQy76CQGy9NdmqEnnHU9soCexBnGU3ezPHVH HTTP/1.1 200 OK Transfer-Encoding: chunked X-Stream-Output: 1 test
The text was updated successfully, but these errors were encountered:
SGTM. let's
Sorry, something went wrong.
Fixed in #2229 and test included.
fixed in #2465
Successfully merging a pull request may close this issue.
From RFC2616#4.4:
The
cat
http response message includes both a content-length header field and a non-identity transfer-encoding.proof:
for comparison, the
block get
output:The text was updated successfully, but these errors were encountered: