fix: status method is useless

This commit is contained in:
bestgopher 2023-05-30 21:00:44 +08:00
parent 9f5ecd4be4
commit 9b2a9e20a1

View File

@ -68,6 +68,8 @@ func (w *responseWriter) WriteHeader(code int) {
return
}
w.status = code
w.size = 0
w.ResponseWriter.WriteHeader(code)
}
}