Commit 290115fd authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

net/http: change a Del to delete

No need to fix case of "Host" string literal.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6278049
parent 24075d33
......@@ -515,7 +515,7 @@ func ReadRequest(b *bufio.Reader) (req *Request, err error) {
if req.Host == "" {
req.Host = req.Header.get("Host")
}
req.Header.Del("Host")
delete(req.Header, "Host")
fixPragmaCacheControl(req.Header)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment