From 35c85321cc20690862700a5d84f1588e18008fdf Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 25 Mar 2013 15:17:44 -0700 Subject: [PATCH] doc: add summary of net/http additions to Go 1.1 R=golang-dev, r CC=golang-dev https://golang.org/cl/7812050 --- doc/go1.1.html | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/doc/go1.1.html b/doc/go1.1.html index 81ecdca45e4..e8606b70659 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -582,7 +582,7 @@ and a new function
  • -The database/sql/ package +The database/sql package has a new Ping method for its @@ -721,11 +721,26 @@ The new functions
  • -The new net/http/cookiejar package provides the basics for managing HTTP cookies. +The net/http package includes several new additions. +ParseTime parses a time string, trying +several common HTTP time formats. +The PostFormValue method of +Request is like +FormValue but ignores URL parameters. +The CloseNotifier interface provides a mechanism +for a server handler to discover when a client has disconnected. +The ServeMux type now has a +Handler method to access a path's +Handler without executing it. +The Transport can now cancel an in-flight request with +CancelRequest. +Finally, the Transport is now more aggresive at closing TCP connections when +a Response.Body is closed before +being fully consumed.
  • -
  • TODO: -net/http: ParseTime, CloseNotifier, Request.PostFormValue, ServeMux.Handler, Transport.CancelRequest +
  • +The new net/http/cookiejar package provides the basics for managing HTTP cookies.
  • TODO: