]> Cypherpunks repositories - gostls13.git/commit
net/http: fix a typo in comments
authorJavier Revillas <jrevillas@massivedynamic.io>
Sun, 25 Aug 2019 16:05:41 +0000 (16:05 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 27 Aug 2019 16:50:35 +0000 (16:50 +0000)
commitcd33d271b47bf3b56c67bf9ab73176ed4504efe9
treebe493ea564b8bbcb58fbc21cf916af6a09cad36d
parent324cf21f781c651ad4e7a0ba9480b6ab85b7c0d1
net/http: fix a typo in comments

HTTP is an initialism, not an acronym, where you pronounce each letter as a
word. It's "an H", not "a H".

Running `find src/net/http -type f | xargs grep -n 'an HTTP' | wc -l` shows
that the "an HTTP" form is used 67 times across the `net/http` package.
Furthermore, `find src/net/http -type f | xargs grep -n 'a HTTP' | wc -l`
yields only 4 results.

Change-Id: I219c292a9e2c9bf7a009dbfe82ea8b15874685e9
GitHub-Last-Rev: 6ebd095023af47444b6b0fc5b6d7b26d85f4c7b7
GitHub-Pull-Request: golang/go#33810
Reviewed-on: https://go-review.googlesource.com/c/go/+/191700
Reviewed-by: Toshihiro Shiino <shiino.toshihiro@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/http/httptrace/trace.go
src/net/http/request.go