Update output.go

This commit is contained in:
kbynd 2017-01-02 09:17:17 +05:30 committed by GitHub
parent f0d1d7149b
commit 2f6da122fd
1 changed files with 0 additions and 2 deletions

View File

@ -71,8 +71,6 @@ func (output *BeegoOutput) Body(content []byte) error {
} else {
output.Header("Content-Length", strconv.Itoa(len(content)))
}
// Write status code if it has been set manually
// Set it to 0 afterwards to prevent "multiple response.WriteHeader calls"
if output.Status != 0 {