From 5045477be8961af1a5855d89e60483f4ccb624ac Mon Sep 17 00:00:00 2001 From: HuanCheng Date: Sat, 21 Aug 2021 00:26:26 +0800 Subject: [PATCH] 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 --- src/net/http/header.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/http/header.go b/src/net/http/header.go index cc9c28e3d0d..5c77cbb8826 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