diff options
author | Brad Fitzpatrick <brad@danga.com> | 2010-06-16 10:15:39 -0700 |
---|---|---|
committer | Brad Fitzpatrick <brad@danga.com> | 2010-06-16 10:15:39 -0700 |
commit | 7b235fb5e7b01c8ff901dfe4547f50c0cd25feda (patch) | |
tree | d45543c42b239a6d1d32f2c4641d3269fcff3c75 /doc | |
parent | 25736a613c7bb0c4e74d40261193329f8ddbb7a3 (diff) | |
download | golang-7b235fb5e7b01c8ff901dfe4547f50c0cd25feda.tar.gz |
http: reply to Expect 100-continue requests automatically
This CL replaces my earlier http://codereview.appspot.com/1640044/show
in which Continue handling was explicit. Instead, this CL makes
it automatic. Reading from Body() is an implicit acknowledgement
that the request headers were fine and the body is wanted. In that
case, the 100 Continue response is written automatically when the
request continues the "Expect: 100-continue" header.
R=rsc, adg
CC=golang-dev
http://codereview.appspot.com/1610042
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions