diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2017-12-05 22:31:25 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-02-15 23:27:04 +0000 |
commit | 07a153e0a43a2945150dd448dab226ecc3a1e265 (patch) | |
tree | 29512bb11b41d96e3356a3883b73593e48ecfa0a | |
parent | 65b209897f32f8f0be1c63a9151bd593f659dabd (diff) | |
download | go-07a153e0a43a2945150dd448dab226ecc3a1e265.tar.gz go-07a153e0a43a2945150dd448dab226ecc3a1e265.zip |
[release-branch.go1.10] doc: mention net/http Server Content-Type change
Updates #20784
Change-Id: Ic07c78a86da5026e407ac9ecb3117d320c198048
Reviewed-on: https://go-review.googlesource.com/93695
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | doc/go1.10.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/go1.10.html b/doc/go1.10.html index 308949905f..a6e186fb73 100644 --- a/doc/go1.10.html +++ b/doc/go1.10.html @@ -1209,6 +1209,10 @@ The content-serving handlers also now omit the <code>Content-Type</code> header if passed an invalid (non-3-digit) status code. </p> <p> +<!-- CL 46631 --> +The <code>Server</code> will no longer add an implicit Content-Type when a <code>Handler</code> does not write any output. +</p> +<p> <a href="/pkg/net/http/#Redirect"><code>Redirect</code></a> now sets the <code>Content-Type</code> header before writing its HTTP response. </p> </dl> |