From: HuanCheng Date: Fri, 20 Aug 2021 16:26:26 +0000 (+0800) Subject: net/http: fix typo in header.go X-Git-Tag: go1.18beta1~1693 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5045477be8961af1a5855d89e60483f4ccb624ac;p=gostls13.git net/http: fix typo in header.go Change-Id: Ia6df881badf9a704c7f56967404d37e230b88a09 Reviewed-on: https://go-review.googlesource.com/c/go/+/343969 Reviewed-by: Damien Neil Reviewed-by: Ian Lance Taylor Trust: Damien Neil --- diff --git a/src/net/http/header.go b/src/net/http/header.go index cc9c28e3d0..5c77cbb882 100644 --- a/src/net/http/header.go +++ b/src/net/http/header.go @@ -196,7 +196,7 @@ func (h Header) writeSubset(w io.Writer, exclude map[string]bool, trace *httptra for _, kv := range kvs { if !httpguts.ValidHeaderFieldName(kv.key) { // This could be an error. In the common case of - // writing reponse headers, however, we have no good + // writing response headers, however, we have no good // way to provide the error back to the server // handler, so just drop invalid headers instead. continue