1
0
mirror of https://github.com/golang/go synced 2024-10-05 22:21:23 -06:00
go/src/pkg/net/http
Dave Cheney 46c9346d74 net/http: fix misplaced defer and example
Moves the defer (again).

Also, correct the example documentation to match.

R=r, robert.hencke, iant, dsymonds, bradfitz
CC=golang-dev
https://golang.org/cl/6458158
2012-08-21 11:46:07 +10:00
..
cgi net/http/cgi: add an empty response test 2012-02-26 14:46:22 -08:00
fcgi net/http/fcgi: don't mention threads in docs 2012-02-10 10:29:57 +11:00
httptest net/http/httptest: make Server.Close wait for outstanding requests to finish 2012-02-29 12:18:26 -08:00
httputil httputil: accumulate X-Forwarded-For header info 2012-07-31 08:38:49 +10:00
pprof pprof: add Profile type 2012-02-22 21:46:12 -05:00
testdata
chunked_test.go http: make httputil's chunked reader/writer code a direct copy 2011-11-09 14:55:52 +11:00
chunked.go use new strconv API 2011-12-05 15:48:46 -05:00
client_test.go net/http: revert back to (and test) Go 1 CheckRedirect behavior 2012-07-18 13:48:39 -07:00
client.go net/http: revert back to (and test) Go 1 CheckRedirect behavior 2012-07-18 13:48:39 -07:00
cookie_test.go net/http: some more cookie tests 2012-02-23 15:51:53 +11:00
cookie.go net/http: lex cleanup 2012-04-23 10:26:10 -07:00
doc.go net/http: fix reference to URL.RawPath in docs 2012-02-10 22:39:57 -02:00
example_test.go net/http: fix misplaced defer and example 2012-08-21 11:46:07 +10:00
export_test.go net/http: reduce mutex contention 2012-08-20 13:28:27 +04:00
filetransport_test.go net/http: make test remove temporary file and directory 2011-12-12 10:40:15 -08:00
filetransport.go
fs_test.go net/http: disable TestServeFileFromCWD test on windows 2012-08-07 13:19:49 +10:00
fs.go net/http: don't allow zero byte in FileServer paths 2012-07-30 13:57:30 +10:00
header_test.go net/http: speed up Header.WriteSubset 2012-06-25 08:54:36 -07:00
header.go net/http: speed up Header.WriteSubset 2012-06-25 08:54:36 -07:00
jar.go net/http: Added interface for a cookie jar. 2011-12-16 10:48:41 -05:00
lex_test.go net/http: lex cleanup 2012-04-23 10:26:10 -07:00
lex.go net/http: lex cleanup 2012-04-23 10:26:10 -07:00
proxy_test.go net/http: reuse http proxy connections for different http requests 2012-05-28 10:46:51 -07:00
range_test.go net/http: support multiple byte ranges in ServeContent 2012-06-29 07:44:04 -07:00
readrequest_test.go net/http: add Request.RequestURI field 2012-01-26 14:37:14 -08:00
request_test.go net/http: provide access to POST-only form values 2012-06-25 20:41:46 -04:00
request.go net/http: provide access to POST-only form values 2012-06-25 20:41:46 -04:00
requestwrite_test.go net/url: cleaned up URL interface (v2) 2012-01-17 00:49:05 -02:00
response_test.go net/http: fix duplicate status code in Response.Write 2012-05-21 11:07:27 -07:00
response.go net/http: don't modify Request Method's case 2012-07-30 10:05:24 +10:00
responsewrite_test.go
serve_test.go net/http: don't modify Request Method's case 2012-07-30 10:05:24 +10:00
server.go net/http: Fix a verb-tense mismatch and a typo in documentation. 2012-06-28 15:18:35 -07:00
sniff_test.go net/http/httptest: make Server.Close wait for outstanding requests to finish 2012-02-29 12:18:26 -08:00
sniff.go net/http: document use of DetectContentType 2012-02-12 23:14:48 -05:00
status.go net/http: add overlooked 418 status code, per RFC 2324. 2012-02-24 11:55:31 +11:00
transfer.go net/http: avoid a bunch of unnecessary CanonicalHeaderKey calls 2012-05-28 11:07:24 -07:00
transport_test.go net/http: fix misplaced defer and example 2012-08-21 11:46:07 +10:00
transport.go net/http: fix send on close channel error 2012-08-21 11:18:16 +10:00
triv.go net/http: couple more triv.go modernizations 2012-03-15 10:06:25 -07:00