summaryrefslogtreecommitdiff
path: root/src/pkg/exp/parser/parser.go
diff options
context:
space:
mode:
authorPetar Maymounkov <petarm@gmail.com>2010-02-19 08:38:40 -0800
committerPetar Maymounkov <petarm@gmail.com>2010-02-19 08:38:40 -0800
commit51b9e93fa73b57ad994672f64a1bbb1d31b75f87 (patch)
treebe2b10f32bc04551f76145372893048d8a8da82d /src/pkg/exp/parser/parser.go
parentf70c002907f03ed850ffa7d586acf5b0190c722f (diff)
downloadgolang-51b9e93fa73b57ad994672f64a1bbb1d31b75f87.tar.gz
http: unified body transfer (read & write) logic in http.Request/Response.
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>
Diffstat (limited to 'src/pkg/exp/parser/parser.go')
0 files changed, 0 insertions, 0 deletions