Commit 2f6da122 authored by kbynd's avatar kbynd Committed by GitHub

Update output.go

parent f0d1d714
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment