diff --git a/examples/httpserver/main.go b/examples/httpserver/main.go index c30749f..2977634 100644 --- a/examples/httpserver/main.go +++ b/examples/httpserver/main.go @@ -15,7 +15,6 @@ func main() { server := &http.Server{ Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello, World!")) - w.WriteHeader(http.StatusOK) }), }