net/http: client `Expect: 100-continue` docs not clear #16003
It doesn't actually say in the docs that you MUST set
Here are what the docs say at the moment.
// 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. // This time does not include the time to send the request header. ExpectContinueTimeout time.Duration
What version of Go are you using (go version)?
What operating system and processor architecture are you using?
What did you do?
Here are some examples demonstrating that you need to set