]> Cypherpunks repositories - gostls13.git/commitdiff
doc: don't imply that the new HTTP status 451 is from RFC 6585
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 28 Jan 2016 20:53:41 +0000 (20:53 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 28 Jan 2016 21:10:22 +0000 (21:10 +0000)
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>
doc/go1.6.html

index 46a8f65db3fd582732da0290401e63cfb989f51f..92998ad46caefd2f07f6ceb01191c965ada01a01 100644 (file)
@@ -752,13 +752,13 @@ Third, the
 <code>Expect:</code> <code>100-continue</code> header (see
 <a href="/pkg/net/http/#Transport"><code>Transport.ExpectContinueTimeout</code></a>).
 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>StatusTooManyRequests</code> (429),
-<code>StatusRequestHeaderFieldsTooLarge</code> (431),
-<code>StatusUnavailableForLegalReasons</code> (451)),
-and
-<code>StatusNetworkAuthenticationRequired</code> (511).
+<code>StatusRequestHeaderFieldsTooLarge</code> (431), and
+<code>StatusNetworkAuthenticationRequired</code> (511) from RFC 6585,
+as well as the recently-approved
+<code>StatusUnavailableForLegalReasons</code> (451).
 Fifth, the implementation and documentation of
 <a href="/pkg/net/http/#CloseNotifier"><code>CloseNotifier</code></a>
 has been substantially changed.