mirror of https://github.com/golang/go.git
doc/go1.18: add docs on Cookie.Valid
Updates #47694 Change-Id: Ibf3e25fbccf82e4abd7bd76b2ea6ceb4b05d4664 Reviewed-on: https://go-review.googlesource.com/c/go/+/368357 Trust: Jeremy Faller <jeremy@golang.org> Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
25f06cb71f
commit
c8c89d20ce
|
|
@ -390,8 +390,11 @@ proposal</a>.
|
|||
<a href="/pkg/net/http/#Transport"><code>Transport</code></a>
|
||||
will now be correctly used, if specified, for making HTTP requests.
|
||||
</p>
|
||||
|
||||
<p><!-- CL 338590 -->
|
||||
TODO: <a href="https://golang.org/cl/338590">https://golang.org/cl/338590</a>: add Cookie.Valid method
|
||||
The new
|
||||
<a href="/pkg/net/http#Cookie.Valid"><code>Cookie.Valid</code></a>
|
||||
method reports whether the cookie is valid.
|
||||
</p>
|
||||
</dd>
|
||||
</dl><!-- net/http -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue