From fa02130477db46f6b9f816eb95f0056f52d71ab8 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 12 Aug 2014 09:51:08 +1000 Subject: [PATCH] [release-branch.go1.3] doc: document new ParseMultipartForm behavior MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ««« 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 --- doc/go1.3.html | 9 +++++++++ 1 file changed, 9 insertions(+) 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. -- 2.50.0