From: Andrew Gerrand Date: Mon, 11 Aug 2014 23:51:08 +0000 (+1000) Subject: [release-branch.go1.3] doc: document new ParseMultipartForm behavior X-Git-Tag: go1.3.1~7 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fa02130477db46f6b9f816eb95f0056f52d71ab8;p=gostls13.git [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 --- 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.