diff options
author | Andrew Gerrand <adg@golang.org> | 2014-08-07 15:42:06 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2014-08-07 15:42:06 +1000 |
commit | 0232ed298ae37a6e20e8d4c1a4535cfe2d15cb77 (patch) | |
tree | 53692524dfc2ac41546271537de092fd1fbdb1c0 /doc | |
parent | 90279e740547026a89c9e69f3508653d91cc815a (diff) | |
download | go-0232ed298ae37a6e20e8d4c1a4535cfe2d15cb77.tar.gz |
doc: document new ParseMultipartForm behavior
Fixes issue 8403.
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/123860043
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go1.3.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/go1.3.html b/doc/go1.3.html index 0d2bda122..042de1bc7 100644 --- a/doc/go1.3.html +++ b/doc/go1.3.html @@ -521,6 +521,15 @@ field to specify an end-to-end timeout on requests made using the client. </li> +<li> +The <a href="/pkg/net/http/"><code>net/http</code></a> package's +<a href="/pkg/net/http/#Request.ParseMultipartForm"><code>Request.ParseMultipartForm</code></a> +method will now return an error if the body's <code>Content-Type</code> +is not <code>mutipart/form-data</code>. +Prior to Go 1.3 it would silently fail and return <code>nil</code>. +Code that relies on the previous behavior should be updated. +</li> + <li> In the <a href="/pkg/net/"><code>net</code></a> package, the <a href="/pkg/net/#Dialer"><code>Dialer</code></a> struct now has a <code>KeepAlive</code> option to specify a keep-alive period for the connection. |