summaryrefslogtreecommitdiff
path: root/src/pkg/http/transfer.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-35/+28
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-0/+27
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-6/+17
2010-07-01strings and bytes.Split: make count of 0 mean 0, not infinite.Rob Pike1-2/+2
Use a count of -1 for infinity. Ditto for Replace. R=rsc CC=golang-dev http://codereview.appspot.com/1704044 Committer: Rob Pike <r@golang.org>
2010-03-30simplify various code using new map index ruleRuss Cox1-5/+2
R=r CC=golang-dev http://codereview.appspot.com/833044
2010-02-24http: fix handling of Close, use Close in http.PostRuss Cox1-7/+21
default to HTTP/1.1 R=petar-m CC=golang-dev http://codereview.appspot.com/224041
2010-02-19http: unified body transfer (read & write) logic in http.Request/Response.Petar Maymounkov1-0/+419
Compliance issue addressed here: POST requests carrying form data are required to use "identity" transfer encoding by common nginx and apache server configurations, e.g. wordpress.com (and many others). So, Request needed to be able to send non-chunked encodings. Thus, Request is extended to support identity and chunked encodings, like Response. Since the Read() and Write() logic are shared by both (and are quite long), it is exported in a separate file transfer.go. R=rsc CC=golang-dev http://codereview.appspot.com/217048 Committer: Russ Cox <rsc@golang.org>