Skip to content

Commit

Permalink
doc: mention net/http Server Content-Type change
Browse files Browse the repository at this point in the history
Updates golang#20784

Change-Id: Ic07c78a86da5026e407ac9ecb3117d320c198048
Reviewed-on: https://go-review.googlesource.com/82016
Reviewed-by: Andrew Bonventre <[email protected]>
  • Loading branch information
bradfitz committed Feb 13, 2018
1 parent 544d365 commit caa7d85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/go1.10.html
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
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>
Expand Down

0 comments on commit caa7d85

Please sign in to comment.