Bumping k8s dependencies to 1.13
This commit is contained in:
3
vendor/golang.org/x/net/http2/h2demo/h2demo.go
generated
vendored
3
vendor/golang.org/x/net/http2/h2demo/h2demo.go
generated
vendored
@@ -160,6 +160,9 @@ func echoCapitalHandler(w http.ResponseWriter, r *http.Request) {
|
||||
http.Error(w, "PUT required.", 400)
|
||||
return
|
||||
}
|
||||
if f, ok := w.(http.Flusher); ok {
|
||||
f.Flush()
|
||||
}
|
||||
io.Copy(flushWriter{w}, capitalizeReader{r.Body})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user