We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66a56f9 + 5ff899d commit d3dbab0Copy full SHA for d3dbab0
modules/web/wrap_convert.go
@@ -93,6 +93,9 @@ func convertHandler(handler interface{}) wrappedHandlerFunc {
93
}
94
routing.UpdateFuncInfo(req.Context(), funcInfo)
95
t(next).ServeHTTP(resp, req)
96
+ if r, ok := resp.(context.ResponseWriter); ok && r.Status() > 0 {
97
+ done = true
98
+ }
99
return
100
101
default:
0 commit comments