aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_content/doc/go1.26.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/_content/doc/go1.26.md b/_content/doc/go1.26.md
index b8e44275..2682ffbf 100644
--- a/_content/doc/go1.26.md
+++ b/_content/doc/go1.26.md
@@ -585,6 +585,8 @@ which manages a pool of connections.
[`Client`](/pkg/net/http#Client) now uses and sets cookies scoped to URLs with the host portion matching
[`Request.Host`](/pkg/net/http#Request.Host) when available.
Previously, the connection address host was always used.
+[`ServeMux`](/pkg/net/http#ServeMux) trailing slash redirects now use HTTP status 307
+(Temporary Redirect) instead of 301 (Moved Permanently).
#### [`net/http/httptest`](/pkg/net/http/httptest/)