1
0
mirror of https://github.com/golang/go synced 2024-11-19 07:14:45 -07:00
go/src/net/http
Brad Fitzpatrick 51b08d511e net/http: be consistent about spelling of HTTP/1.x
There was only one use of "HTTP/1.n" compared to "HTTP/1.x":

h2_bundle.go://   "Just as in HTTP/1.x, header field names are strings of ASCII
httputil/dump.go:// DumpRequest returns the given request in its HTTP/1.x wire
httputil/dump.go:// intact. HTTP/2 requests are dumped in HTTP/1.x form, not in their
response.go:// Write writes r to w in the HTTP/1.x server response format,
server.go:      // Request.Body. For HTTP/1.x requests, handlers should read any
server.go:// The default HTTP/1.x and HTTP/2 ResponseWriter implementations
server.go:// The default ResponseWriter for HTTP/1.x connections supports
server.go:// http1ServerSupportsRequest reports whether Go's HTTP/1.x server
server.go:      // about HTTP/1.x Handlers concurrently reading and writing, like
server.go:      // HTTP/1.x from here on.
transport.go:   return fmt.Errorf("net/http: HTTP/1.x transport connection broken: %v", err)

Be consistent.

Change-Id: I93c4c873e500f51af2b4762055e22f5487a625ac
Reviewed-on: https://go-review.googlesource.com/24610
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-06-29 23:59:41 +00:00
..
cgi
cookiejar
fcgi
httptest net/http/httptest: show usage of httptest.NewRequest in example 2016-06-27 21:08:47 +00:00
httptrace net/http/httptrace: fix nit in test 2016-05-27 18:47:40 +00:00
httputil net/http/httputil: fix typos in deprecation comments 2016-05-28 23:44:32 +00:00
internal all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
pprof net/http/pprof: remove comments pointing to gperftools 2016-06-28 02:40:20 +00:00
testdata
client_test.go net/http: allow Client.CheckRedirect to use most recent response 2016-05-18 18:01:50 +00:00
client.go net/http: allow Client.CheckRedirect to use most recent response 2016-05-18 18:01:50 +00:00
clientserver_test.go net/http: update bundled http2 2016-05-20 05:53:06 +00:00
cookie_test.go
cookie.go
doc.go
example_test.go
export_test.go net/http: update bundled http2 2016-05-20 05:53:06 +00:00
filetransport_test.go
filetransport.go
fs_test.go
fs.go
h2_bundle.go net/http: update bundled http2 2016-06-29 00:41:02 +00:00
header_test.go
header.go
http_test.go
http.go net/http: update bundled http2 2016-05-19 03:51:11 +00:00
jar.go
main_test.go net/http: fix typo in comment in main_test 2016-05-02 21:02:54 +00:00
method.go net/http: correct RFC for MethodPatch 2016-05-04 22:11:56 +00:00
npn_test.go
proxy_test.go
race.go
range_test.go
readrequest_test.go
request_test.go net/http: make the MaxBytesReader.Read error sticky 2016-05-11 17:10:58 +00:00
request.go net/http: http.Request.Context doc fix 2016-06-02 05:25:46 +00:00
requestwrite_test.go
response_test.go net/http: add Response.Uncompressed bool 2016-05-01 06:29:57 +00:00
response.go net/http: be consistent about spelling of HTTP/1.x 2016-06-29 23:59:41 +00:00
responsewrite_test.go
serve_test.go net/http: conditionally configure HTTP/2 in Server.Serve(Listener) 2016-06-28 18:14:56 +00:00
server.go net/http: conditionally configure HTTP/2 in Server.Serve(Listener) 2016-06-28 18:14:56 +00:00
sniff_test.go
sniff.go
status.go net/http: add missing HTTP status codes 2016-05-25 23:27:21 +00:00
transfer_test.go
transfer.go net/http: update bundled http2 2016-05-19 03:51:11 +00:00
transport_internal_test.go net/http: fix spurious logging in Transport when server closes idle conn 2016-05-18 15:13:56 +00:00
transport_test.go net/http: update bundled http2 2016-06-01 23:15:34 +00:00
transport.go net/http: change Transport.Dialer to Transport.DialContext 2016-05-27 16:26:42 +00:00
triv.go