From: Dan Peterson
Date: Thu, 21 Dec 2023 17:58:00 +0000 (-0400)
Subject: doc: fill out net/http.Request.PathValue,SetPathValue section
X-Git-Tag: go1.22rc2~7^2~9
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7e7b16c9723d946031803d46baac91dc1fa80812;p=gostls13.git
doc: fill out net/http.Request.PathValue,SetPathValue section
And add a missing code tag wrap elsewhere.
Updates #61410
Updates #61422
Change-Id: I70a9c4ecaf4056af2e88d777b8db892a45dfcb9f
Reviewed-on: https://go-review.googlesource.com/c/go/+/552195
Reviewed-by: Dmitri Shuralyov
Run-TryBot: Dan Peterson
Reviewed-by: Jonathan Amsterdam
TryBot-Result: Gopher Robot
---
diff --git a/doc/go1.22.html b/doc/go1.22.html
index 44d783e1bd..b04f50192c 100644
--- a/doc/go1.22.html
+++ b/doc/go1.22.html
@@ -692,7 +692,7 @@ We plan to include an API migration tool in a future release, likely Go 1.23.
- math/big
-
- The new method Rat.FloatPrec computes the number of fractional decimal digits
+ The new method Rat.FloatPrec
computes the number of fractional decimal digits
required to represent a rational number accurately as a floating-point number, and whether accurate decimal representation
is possible in the first place.
@@ -736,9 +736,14 @@ We plan to include an API migration tool in a future release, likely Go 1.23.
GODEBUG
field httplaxcontentlength=1
.
-
-
-
+
+ The new method
+ Request.PathValue
+ returns path wildcard values from a request
+ and the new method
+ Request.SetPathValue
+ sets path wildcard values on a request.
+