Fix swallowed response codes

This commit is contained in:
Viktor Liu
2026-02-12 22:54:17 +08:00
parent 6dfc5772ba
commit a3241d8376
+1
View File
@@ -67,6 +67,7 @@ type responseInterceptor struct {
func (w *responseInterceptor) WriteHeader(status int) {
w.status = status
w.ResponseWriter.WriteHeader(status)
}
func (w *responseInterceptor) Write(b []byte) (int, error) {