From 07a153e0a43a2945150dd448dab226ecc3a1e265 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 5 Dec 2017 22:31:25 +0000 Subject: [PATCH] [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 Reviewed-by: Brad Fitzpatrick --- doc/go1.10.html | 4 ++++ 1 file changed, 4 insertions(+) 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 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