]> Cypherpunks repositories - gostls13.git/commit
Fix http client handling of status messages with spaces (e.g. "HTTP/1.1 400 Bad
authorDavid Symonds <dsymonds@golang.org>
Wed, 24 Jun 2009 01:49:47 +0000 (18:49 -0700)
committerDavid Symonds <dsymonds@golang.org>
Wed, 24 Jun 2009 01:49:47 +0000 (18:49 -0700)
commite6ff6c8e5629880c88c3610f2d3d55eab35b5400
treed1509a813f220fde228130412218db587e9ff543
parent0d77947a3e0c46e8a612cc8ff08079441355e718
Fix http client handling of status messages with spaces (e.g. "HTTP/1.1 400 Bad
Request".
Use chunked Transfer-Encoding for all POSTs.
Implement chunked reading.
Change http.Request.write to be HTTP/1.1 only.

R=rsc
APPROVED=rsc
DELTA=178  (123 added, 26 deleted, 29 changed)
OCL=30563
CL=30673
src/pkg/http/client.go
src/pkg/http/request.go