From: Andrew Gerrand Date: Thu, 7 Aug 2014 05:42:06 +0000 (+1000) Subject: doc: document new ParseMultipartForm behavior X-Git-Tag: go1.4beta1~898 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=af403c08fcb848205466d1e4589f98df1984d0dd;p=gostls13.git doc: document new ParseMultipartForm behavior Fixes #8403. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/123860043 --- 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. +
  • +The net/http package's +Request.ParseMultipartForm +method will now return an error if the body's Content-Type +is not mutipart/form-data. +Prior to Go 1.3 it would silently fail and return nil. +Code that relies on the previous behavior should be updated. +
  • +
  • In the net package, the Dialer struct now has a KeepAlive option to specify a keep-alive period for the connection.