From caa7d854c885c2a37b3da5f16e18be4b65cd8e75 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 5 Dec 2017 22:31:25 +0000 Subject: [PATCH] doc: mention net/http Server Content-Type change Updates #20784 Change-Id: Ic07c78a86da5026e407ac9ecb3117d320c198048 Reviewed-on: https://go-review.googlesource.com/82016 Reviewed-by: Andrew Bonventre --- doc/go1.10.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/go1.10.html b/doc/go1.10.html index 569e420d51..2b2a150ccc 100644 --- a/doc/go1.10.html +++ b/doc/go1.10.html @@ -1214,6 +1214,10 @@ The content-serving handlers also now omit the Content-Type header if passed an invalid (non-3-digit) status code.

+ +The Server will no longer add an implicit Content-Type when a Handler does not write any output. +

+

Redirect now sets the Content-Type header before writing its HTTP response.

-- 2.48.1