Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
35c85321
Commit
35c85321
authored
Mar 25, 2013
by
Brad Fitzpatrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: add summary of net/http additions to Go 1.1
R=golang-dev, r CC=golang-dev
https://golang.org/cl/7812050
parent
6a70f9d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
doc/go1.1.html
doc/go1.1.html
+19
-4
No files found.
doc/go1.1.html
View file @
35c85321
...
@@ -582,7 +582,7 @@ and a new function
...
@@ -582,7 +582,7 @@ and a new function
</li>
</li>
<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
has a new
<a
href=
"/pkg/database/sql/#DB.Ping"
><code>
Ping
</code></a>
<a
href=
"/pkg/database/sql/#DB.Ping"
><code>
Ping
</code></a>
method for its
method for its
...
@@ -721,11 +721,26 @@ The new functions
...
@@ -721,11 +721,26 @@ The new functions
</li>
</li>
<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>
<li>
TODO:
<li>
<code>
net/http
</code>
: ParseTime, CloseNotifier, Request.PostFormValue, ServeMux.Handler, Transport.CancelRequest
The new
<a
href=
"/pkg/net/http/cookiejar/"
>
net/http/cookiejar
</a>
package provides the basics for managing HTTP cookies.
</li>
</li>
<li>
TODO:
<li>
TODO:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment