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

This commit is contained in:
Chris Lu committed 2021-05-05 15:11:39 -07:00
1 parent 24efa31e49
commit ac71117ee6
11 files changed
+22 -48

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, false)
return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64)
})