]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: document Transport.ExpectContinueTimeout a bit more
authorBrad Fitzpatrick <bradfitz@golang.org>
Sat, 22 Oct 2016 13:39:12 +0000 (06:39 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 22 Oct 2016 16:11:45 +0000 (16:11 +0000)
Fixes #16003

Change-Id: I76a8da24b9944647ec40ef2ca4fc93c175ff5a25
Reviewed-on: https://go-review.googlesource.com/31723
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/transport.go

index 429f667c1429218dfa681f72424eb76d700597a2..bce9e34de124c19cef00233557b4f6772662adb2 100644 (file)
@@ -158,7 +158,9 @@ type Transport struct {
        // ExpectContinueTimeout, if non-zero, specifies the amount of
        // time to wait for a server's first response headers after fully
        // writing the request headers if the request has an
-       // "Expect: 100-continue" header. Zero means no timeout.
+       // "Expect: 100-continue" header. Zero means no timeout and
+       // causes the body to be sent immediately, without
+       // waiting for the server to approve.
        // This time does not include the time to send the request header.
        ExpectContinueTimeout time.Duration