]> Cypherpunks repositories - gostls13.git/commit
net/http: document that ServeMux.Handler can also synthetize a 405
authorFilippo Valsorda <filippo@golang.org>
Fri, 23 May 2025 10:44:24 +0000 (12:44 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 23 May 2025 17:41:44 +0000 (10:41 -0700)
commitc0e149b6b1aa2daca64c00804809bc2279e21eee
treea8e6255601959a3067c167ebfd3b91a8ec4327b7
parentdb3e02994c98f1d6dc00f7df807579c4619885c7
net/http: document that ServeMux.Handler can also synthetize a 405

Also, fix a minor typo in ServeMux.Handle and ServeMux.HandleFunc.

Change-Id: I6a6a46565719104cb8f2484daf0e39f35b55a078
Reviewed-on: https://go-review.googlesource.com/c/go/+/675835
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/net/http/server.go