diff options
author | Andrew Gerrand <adg@golang.org> | 2014-08-12 09:51:08 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2014-08-12 09:51:08 +1000 |
commit | fa02130477db46f6b9f816eb95f0056f52d71ab8 (patch) | |
tree | 61addcabbbcdecec3f38306c0f03a0bb675f6cbf | |
parent | 6b0ac0f972de8c55503ccb0e056a0113c4bf4970 (diff) | |
download | go-fa02130477db46f6b9f816eb95f0056f52d71ab8.tar.gz go-fa02130477db46f6b9f816eb95f0056f52d71ab8.zip |
[release-branch.go1.3] doc: document new ParseMultipartForm behavior
««« CL 123860043 / cf99a05f0fbc
doc: document new ParseMultipartForm behavior
Fixes #8403.
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/123860043
»»»
TBR=rsc
CC=golang-codereviews
https://golang.org/cl/127070043
-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 0d2bda122d..042de1bc7b 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. |