1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:21:22 -06:00
go/src/pkg/http
Clement Skau 49741f23d5 http: fix Content-Range and Content-Length in response
RFC2616 sections 4.4 and 14.16:
  * Cannot use Content-Length with non-identity Transfer-Encoding
  * Content-Range response is "bytes x-y/z" not "x-y/z"

R=rsc
CC=golang-dev
https://golang.org/cl/4018041
2011-01-19 10:05:48 -05:00
..
pprof http: revised http Handler interface 2010-09-29 14:30:12 +10:00
testdata http: ServeFile to handle Range header for partial requests 2010-12-10 08:51:13 +11:00
chunked.go Significant extension to http.Response, which now adheres to the 2010-01-18 21:46:59 -08:00
client_test.go http: client_test nil pointer fix 2010-06-30 18:57:27 +10:00
client.go crypto/tls: add *Config argument to Dial 2010-12-07 16:15:15 -05:00
dump.go http: add DumpRequest, DumpResponse, for debugging 2010-02-19 07:51:51 -08:00
fs_test.go http: fix Content-Range and Content-Length in response 2011-01-19 10:05:48 -05:00
fs.go http: fix Content-Range and Content-Length in response 2011-01-19 10:05:48 -05:00
lex_test.go gofmt -s -w src misc 2010-10-22 10:06:33 -07:00
lex.go single argument panic 2010-03-30 10:34:57 -07:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
persist.go http: add Pending method to ServerConn, ClientConn 2010-02-19 08:21:21 -08:00
readrequest_test.go http: fix scheme-relative URL parsing; add ParseRequestURL 2011-01-14 09:10:02 +11:00
request_test.go gofmt -s -w src misc 2010-10-22 10:06:33 -07:00
request.go http: fix scheme-relative URL parsing; add ParseRequestURL 2011-01-14 09:10:02 +11:00
requestwrite_test.go gofmt -s -w src misc 2010-10-22 10:06:33 -07:00
response_test.go http: permit empty Reason-Phrase in response Status-Line 2011-01-05 13:09:38 -05:00
response.go http: permit empty Reason-Phrase in response Status-Line 2011-01-05 13:09:38 -05:00
responsewrite_test.go gofmt -s -w src misc 2010-10-22 10:06:33 -07:00
serve_test.go http: fix scheme-relative URL parsing; add ParseRequestURL 2011-01-14 09:10:02 +11:00
server.go http: fix Content-Range and Content-Length in response 2011-01-19 10:05:48 -05:00
status.go http: revised http Handler interface 2010-09-29 14:30:12 +10:00
transfer.go throughout: simplify two-variable ranges with unused second variable 2010-12-08 21:36:56 -08:00
triv.go log: new interface 2010-10-12 12:59:18 -07:00
url_test.go http: fix scheme-relative URL parsing; add ParseRequestURL 2011-01-14 09:10:02 +11:00
url.go http: fix scheme-relative URL parsing; add ParseRequestURL 2011-01-14 09:10:02 +11:00