diff options
| -rw-r--r-- | message.go | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -77,7 +77,7 @@ func (msg *Message) Close() error {  // ComputeLength sets the length header parameter based on the message body.  // First, msg.TryComputeLength() is attempted; if that fails, the request is -// fully read into a bytes.Buffer and msg.Body is set to it. +// fully read into a bytes.Reader and msg.Body is set to it.  func (msg *Message) ComputeLength() error {  	if !msg.TryComputeLength() {  		buf, err := ioutil.ReadAll(msg.Body) |