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.
1 parent f910924 commit 5ff899dCopy full SHA for 5ff899d
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