Skip to content

Commit 31df19d

Browse files
committed
http2: fix truncated comment
Backtick is my screen metakey, so this got lost in a copy/paste at the backtick symbol. Change-Id: Ia3e7bf5d2819ea83ff6cc86cc3b6210e3f279eb0 Reviewed-on: https://go-review.googlesource.com/21193 Reviewed-by: David Symonds <[email protected]>
1 parent 1dd0d85 commit 31df19d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎http2/http2.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ var (
170170
// RFC 7230 says:
171171
// header-field = field-name ":" OWS field-value OWS
172172
// field-name = token
173+
// token = 1*tchar
173174
// tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." /
174-
// "^" / "_" / "
175+
// "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA
175176
// Further, http2 says:
176177
// "Just as in HTTP/1.x, header field names are strings of ASCII
177178
// characters that are compared in a case-insensitive

0 commit comments

Comments
 (0)