For #47694
Change-Id: Ifab2c2720ec2ccef175a0e14a95f8df0437eb009
GitHub-Last-Rev:
f3c2f12c7b6472610428cff5cad2a4497c47150e
GitHub-Pull-Request: golang/go#50250
Reviewed-on: https://go-review.googlesource.com/c/go/+/373015
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
<a href="/pkg/net/http#Cookie.Valid"><code>Cookie.Valid</code></a>
method reports whether the cookie is valid.
</p>
+
+ <p><!-- CL 346569 -->
+ The new
+ <a href="/pkg/net/http#MaxBytesHandler"><code>MaxBytesHandler</code></a>
+ function creates a <code>Handler</p>code> that wraps its
+ <code>ResponseWriter</code> and <code>Request.Body</code> with a
+ <a href="/pkg/net/http#MaxBytesReader"><code>MaxBytesReader</code></a>.
+ </p>
</dd>
</dl><!-- net/http -->