From: Brad Fitzpatrick Date: Mon, 25 Mar 2013 22:17:44 +0000 (-0700) Subject: doc: add summary of net/http additions to Go 1.1 X-Git-Tag: go1.1rc2~341 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=35c85321cc20690862700a5d84f1588e18008fdf;p=gostls13.git doc: add summary of net/http additions to Go 1.1 R=golang-dev, r CC=golang-dev https://golang.org/cl/7812050 --- diff --git a/doc/go1.1.html b/doc/go1.1.html index 81ecdca45e..e8606b7065 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: