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
@@ -52,7 +52,7 @@ func (c *commandFsCat) Do(args []string, commandEnv *CommandEnv, writer io.Write
return err
}
return filer.StreamContent(commandEnv.MasterClient, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64)
return filer.StreamContent(commandEnv.MasterClient, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64, false)
})