(w http.ResponseWriter, r *http.Request)
| 13 | } |
| 14 | |
| 15 | func httpReadBody(w http.ResponseWriter, r *http.Request) { |
| 16 | _, _ = io.Copy(io.Discard, r.Body) |
| 17 | w.WriteHeader(http.StatusOK) |
| 18 | _, _ = w.Write([]byte("hello")) |
| 19 | } |
| 20 | |
| 21 | func httpRedirect(w http.ResponseWriter, r *http.Request) { |
| 22 | w.WriteHeader(http.StatusTemporaryRedirect) |
nothing calls this directly
no test coverage detected