1
0
mirror of https://github.com/golang/go synced 2024-10-07 09:21:23 -06:00
go/src/pkg/net/http
Brad Fitzpatrick 12b2022a3b net/http: flush server response gracefully when ignoring request body
This prevents clients from seeing RSTs and missing the response
body.

TCP stacks vary. The included test failed on Darwin before but
passed on Linux.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6256066
2012-05-29 12:40:13 -07: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 net/http/httputil: Made reverseproxy test less flaky. 2012-04-20 09:31:23 -07: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: add cookies from jar to POST request. 2012-05-21 10:57:15 -07:00
client.go net/http: add cookies from jar to POST request. 2012-05-21 10:57:15 -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: add example for FileServer to mention StripPrefix 2012-04-20 00:41:10 +08:00
export_test.go use new time API 2011-11-30 12:01:46 -05: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: make a test more paranoid & reliable on Windows, maybe. 2012-02-29 09:53:20 -08:00
fs.go net/http: use mtime < t+1s to check for unmodified 2012-02-12 23:45:19 -05:00
header_test.go net/http: avoid fmt.Fprintf in Header.WriteSubset 2012-05-28 11:26:45 -07:00
header.go net/http: avoid fmt.Fprintf in Header.WriteSubset 2012-05-28 11:26:45 -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
readrequest_test.go net/http: add Request.RequestURI field 2012-01-26 14:37:14 -08:00
request_test.go net/http: return appropriate errors from ReadRequest 2012-03-12 10:42:25 -07:00
request.go net/http: avoid a bunch of unnecessary CanonicalHeaderKey calls 2012-05-28 11:07:24 -07: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: fix duplicate status code in Response.Write 2012-05-21 11:07:27 -07:00
responsewrite_test.go
serve_test.go net/http: flush server response gracefully when ignoring request body 2012-05-29 12:40:13 -07:00
server.go net/http: flush server response gracefully when ignoring request body 2012-05-29 12:40:13 -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 response Connection: close, close client connections 2012-05-23 11:19:38 -07:00
transport.go net/http: reuse http proxy connections for different http requests 2012-05-28 10:46:51 -07:00
triv.go net/http: couple more triv.go modernizations 2012-03-15 10:06:25 -07:00