diff options
| author | Jeff R. Allen <jra@nella.org> | 2015-06-18 14:28:54 +0200 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-06-22 02:48:27 +0000 |
| commit | 626188dd314c26746ad5525721875ac72ee49c9e (patch) | |
| tree | c52aea650e3676e6e865df3bd9bee326175731cd /src/encoding/csv/example_test.go | |
| parent | 3cab4760d5ce8108c88984cb6c9849e598882b9b (diff) | |
| download | go-626188dd314c26746ad5525721875ac72ee49c9e.tar.xz | |
net/textproto: skip zero-length keys
A header of ": value" results in an empty key. Do not add
it to the headers, because RFC7230 (section 3.2) says that
field-names are tokens, which are one or more characters.
Fixes #11205.
Change-Id: I883be89da1489dc84f98523786b019d1d0169d46
Reviewed-on: https://go-review.googlesource.com/11242
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding/csv/example_test.go')
0 files changed, 0 insertions, 0 deletions
