]> Cypherpunks repositories - gostls13.git/commit
net/http: enable Transfer-Encoding: identity without Content-Length for HTTP 1.1.
authorJames Tucker <raggi@google.com>
Mon, 29 Sep 2014 20:53:42 +0000 (13:53 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 29 Sep 2014 20:53:42 +0000 (13:53 -0700)
commit2da734189db9a7ad7d6de259ebe9003d20f9f291
tree6b0f489af408c8b8488e720c34f07e89aa3a807a
parent705c1f5cd45d572ba32dea48f5fe997a9f970400
net/http: enable Transfer-Encoding: identity without Content-Length for HTTP 1.1.

Use case is SSE recommended configuration: http://www.w3.org/TR/eventsource/#notes
Removes a TODO.

LGTM=bradfitz
R=golang-codereviews, bradfitz, tommi.virtanen
CC=golang-codereviews
https://golang.org/cl/100000044
src/net/http/serve_test.go
src/net/http/server.go