]> Cypherpunks repositories - gostls13.git/commit
http: handle old HTTP/1.0 unchunked "read to EOF" bodies.
authorRuss Cox <rsc@golang.org>
Wed, 20 Jan 2010 01:46:56 +0000 (17:46 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 20 Jan 2010 01:46:56 +0000 (17:46 -0800)
commit75c6dc9f6cd8f04624051b5cb76e16e8a00d8a5f
treeb5112413aa0911e18fb759f0810ca6a69b22e577
parent1634b4236b5b8a8c940f0361f2f8b3071cd4b5c1
http: handle old HTTP/1.0 unchunked "read to EOF" bodies.
Was trying to interpret raw body as chunked body.

Add test for ReadResponse.

Fixes #544.

R=r, petar-m
CC=golang-dev, shadowice
https://golang.org/cl/190068
src/pkg/http/response.go
src/pkg/http/response_test.go [new file with mode: 0644]