mirror of https://github.com/golang/go.git
doc: don't imply that the new HTTP status 451 is from RFC 6585
From twitter bug report: https://twitter.com/ox/status/692737249411207168 Change-Id: Ic5f4eeb00d705217542db558edc25e206f6b640d Reviewed-on: https://go-review.googlesource.com/19050 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
2d916bec96
commit
6d61725c36
|
|
@ -752,13 +752,13 @@ Third, the
|
||||||
<code>Expect:</code> <code>100-continue</code> header (see
|
<code>Expect:</code> <code>100-continue</code> header (see
|
||||||
<a href="/pkg/net/http/#Transport"><code>Transport.ExpectContinueTimeout</code></a>).
|
<a href="/pkg/net/http/#Transport"><code>Transport.ExpectContinueTimeout</code></a>).
|
||||||
Fourth, there are
|
Fourth, there are
|
||||||
<a href="/pkg/net/http/#pkg-constants">five new error codes</a> from RFC 6585:
|
<a href="/pkg/net/http/#pkg-constants">five new error codes</a>:
|
||||||
<code>StatusPreconditionRequired</code> (428),
|
<code>StatusPreconditionRequired</code> (428),
|
||||||
<code>StatusTooManyRequests</code> (429),
|
<code>StatusTooManyRequests</code> (429),
|
||||||
<code>StatusRequestHeaderFieldsTooLarge</code> (431),
|
<code>StatusRequestHeaderFieldsTooLarge</code> (431), and
|
||||||
<code>StatusUnavailableForLegalReasons</code> (451)),
|
<code>StatusNetworkAuthenticationRequired</code> (511) from RFC 6585,
|
||||||
and
|
as well as the recently-approved
|
||||||
<code>StatusNetworkAuthenticationRequired</code> (511).
|
<code>StatusUnavailableForLegalReasons</code> (451).
|
||||||
Fifth, the implementation and documentation of
|
Fifth, the implementation and documentation of
|
||||||
<a href="/pkg/net/http/#CloseNotifier"><code>CloseNotifier</code></a>
|
<a href="/pkg/net/http/#CloseNotifier"><code>CloseNotifier</code></a>
|
||||||
has been substantially changed.
|
has been substantially changed.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue