Revert "revert PR #1903 avoid http error: superfluous response.WriteHeader"

This reverts commit ac71117e
This commit is contained in:
Konstantin Lebedev committed 2021-05-20 11:45:21 +05:00
1 parent 87a32bfef4
commit 03d1199d5f
9 files changed
+45 -20

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ func runFilerCat(cmd *Command, args []string) bool {
filerCat.filerClient = client
return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64)
return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64, false)
})