From af403c08fcb848205466d1e4589f98df1984d0dd Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Thu, 7 Aug 2014 15:42:06 +1000 Subject: [PATCH] doc: document new ParseMultipartForm behavior Fixes #8403. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/123860043 --- 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.48.1