commit | 58aab5ef257a41e2349a0e8a550faf708523c75e | [log] [tgz] |
---|---|---|
author | Frank Chiarulli Jr <frank@frankchiarulli.com> | Thu Nov 11 13:45:00 2021 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Thu Nov 11 16:01:37 2021 +0000 |
tree | 0cc81e58c18ef47dfb8370f07745f039fba1329c | |
parent | e5c9674774955a68dc53d11ab438ab06c4d0d078 [diff] |
http2: compare Content-Encoding case-insensitive RFC7230 states that Content-Encoding should be case insensitive, however the current http2 library only checks for lowercase, this PR checks for gzip using `EqualFold` as the http/1 library does. https://tools.ietf.org/html/rfc7230#section-4 Change-Id: Icfb8eb1e5a7ac2975ff3a06f40dbb5ccae8cd8cb GitHub-Last-Rev: 61029e9fc8655c7920121d61b08bd1a4863c9af2 GitHub-Pull-Request: golang/net#85 Reviewed-on: https://go-review.googlesource.com/c/net/+/259897 Trust: Meng Zhuo <mzh@golangcn.org> Trust: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Meng Zhuo <mzh@golangcn.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.