diff --git a/doc/go1.8.html b/doc/go1.8.html index 820a0b287a0..4dc6b79bd64 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -1320,6 +1320,22 @@ crypto/x509: return error for missing SerialNumber (CL 27238) to use IPv4 as a backup if it looks like IPv6 might be failing. + +
  • + The Transport + no longer reads a byte of a non-nil + Request.Body + when the + Request.ContentLength + is zero to determine whether the ContentLength + is actually zero or just undefined. + To explicitly signal that a body has zero length, + either set it to nil, or set it to the new value + NoBody. + The new NoBody value is intended for use by Request + constructor functions; it is used by + NewRequest. +