summaryrefslogtreecommitdiff
path: root/doc/go1.1.html
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2013-03-25 15:17:44 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2013-03-25 15:17:44 -0700
commit0fbdb72c5099c60901eac122f8f8a3fd2cd527db (patch)
tree3c83aad39c7487797b01969c6291e32fea316d6d /doc/go1.1.html
parente6b72596c6f4429cb7c8c908bdd5b1a247abdcf0 (diff)
downloadgo-0fbdb72c5099c60901eac122f8f8a3fd2cd527db.tar.gz
doc: add summary of net/http additions to Go 1.1
R=golang-dev, r CC=golang-dev https://codereview.appspot.com/7812050
Diffstat (limited to 'doc/go1.1.html')
-rw-r--r--doc/go1.1.html23
1 files changed, 19 insertions, 4 deletions
diff --git a/doc/go1.1.html b/doc/go1.1.html
index 81ecdca45..e8606b706 100644
--- a/doc/go1.1.html
+++ b/doc/go1.1.html
@@ -582,7 +582,7 @@ and a new function
</li>
<li>
-The <a href="/pkg/database/sql/"><code>database/sql/</code></a> package
+The <a href="/pkg/database/sql/"><code>database/sql</code></a> package
has a new
<a href="/pkg/database/sql/#DB.Ping"><code>Ping</code></a>
method for its
@@ -721,11 +721,26 @@ The new functions
</li>
<li>
-The new <a href="/pkg/net/http/cookiejar/">net/http/cookiejar</a> package provides the basics for managing HTTP cookies.
+The <a href="/pkg/net/http/"><code>net/http</code></a> package includes several new additions.
+<a href="/pkg/net/http/#ParseTime"><code>ParseTime</code></a> parses a time string, trying
+several common HTTP time formats.
+The <a href="/pkg/net/http/#Request.PostFormValue">PostFormValue</a> method of
+<a href="/pkg/net/http/#Request"><code>Request</code></a> is like
+<a href="/pkg/net/http/#Request.FormValue"><code>FormValue</code></a> but ignores URL parameters.
+The <a href="/pkg/net/http/#CloseNotifier"><code>CloseNotifier</code></a> interface provides a mechanism
+for a server handler to discover when a client has disconnected.
+The <code>ServeMux</code> type now has a
+<a href="/pkg/net/http/#ServeMux.Handler"><code>Handler</code></a> method to access a path's
+<code>Handler</code> without executing it.
+The <code>Transport</code> can now cancel an in-flight request with
+<a href="/pkg/net/http/#Transport.CancelRequest"><code>CancelRequest</code></a>.
+Finally, the Transport is now more aggresive at closing TCP connections when
+a <a href="/pkg/net/http/#Response"><code>Response.Body</code></a> is closed before
+being fully consumed.
</li>
-<li> TODO:
-<code>net/http</code>: ParseTime, CloseNotifier, Request.PostFormValue, ServeMux.Handler, Transport.CancelRequest
+<li>
+The new <a href="/pkg/net/http/cookiejar/">net/http/cookiejar</a> package provides the basics for managing HTTP cookies.
</li>
<li> TODO: