diff options
| author | Wèi Cōngruì <crvv.mail@gmail.com> | 2017-11-02 14:23:32 +0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-10 04:51:55 +0000 |
| commit | 5d0cab036712539d50435904ded466bf6b7b0884 (patch) | |
| tree | e02cafc1ecc9e1345dbb337f1ff3f468ee6a9062 /src/cmd/internal/test2json/testdata/unicode.json | |
| parent | 17f35c6993cdaf197db79cc6e62108f05f60bd0b (diff) | |
| download | go-5d0cab036712539d50435904ded466bf6b7b0884.tar.xz | |
net/textproto: ignore initial lines with leading whitespaces in ReadMIMEHeader
A header line with leading whitespaces is not valid in HTTP as per
RFC7230. This change ignores these invalid lines in ReadMIMEHeader.
Updates #22464
Change-Id: Iff9f00380d28a9617a55ff7888a76fba82001402
Reviewed-on: https://go-review.googlesource.com/75350
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/internal/test2json/testdata/unicode.json')
0 files changed, 0 insertions, 0 deletions
