From: Emmanuel Odeke
Date: Mon, 20 Jun 2016 00:30:29 +0000 (-0700)
Subject: doc/go1.7.html: net/http RFC 2616 conformation + timeoutHandler on empty body
X-Git-Tag: go1.7rc1~84
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=153d31da1629facdc855ad0e4e91369ec2124ac7;p=gostls13.git
doc/go1.7.html: net/http RFC 2616 conformation + timeoutHandler on empty body
- Mention RFC 2616 conformation in which the server now only sends one
"Transfer-Encoding" header when "chunked" is explicitly set.
- Mention that a timeout handler now sends a 200 status code on
encountering an empty response body instead of sending back 0.
Change-Id: Id45e2867390f7e679ab40d7a66db1f7b9d92ce17
Reviewed-on: https://go-review.googlesource.com/24250
Reviewed-by: Andrew Gerrand
---
diff --git a/doc/go1.7.html b/doc/go1.7.html
index 0acfb6c8fc..105e3b4eab 100644
--- a/doc/go1.7.html
+++ b/doc/go1.7.html
@@ -855,6 +855,16 @@ so that w.WriteHeader(5)
uses the HTTP response
status 005
, not just 5
.
+
+The server implementation now correctly sends only one "Transfer-Encoding" header when "chunked"
+is set explicitly, following RFC 2616.
+
+
+
+In the server, a 200 status code is sent back by the timeout handler on an empty
+response body, instead of sending back 0 as the status code.
+
+
In the client, the
Transport
implementation passes the request context