mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
http2: fix a typo
Change-Id: I0c4c58d6488ddf321a5d62b6e9f0dd46f5f40438 Reviewed-on: https://go-review.googlesource.com/33256 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
@@ -2443,7 +2443,7 @@ func (w *responseWriter) push(target string, opts pushOptions) error {
|
||||
}
|
||||
for k := range opts.Header {
|
||||
if strings.HasPrefix(k, ":") {
|
||||
return fmt.Errorf("promised request headers cannot include psuedo header %q", k)
|
||||
return fmt.Errorf("promised request headers cannot include pseudo header %q", k)
|
||||
}
|
||||
// These headers are meaningful only if the request has a body,
|
||||
// but PUSH_PROMISE requests cannot have a body.
|
||||
|
||||
Reference in New Issue
Block a user