|
@@ -170,8 +170,9 @@ var (
|
|
|
// RFC 7230 says:
|
|
// RFC 7230 says:
|
|
|
// header-field = field-name ":" OWS field-value OWS
|
|
// header-field = field-name ":" OWS field-value OWS
|
|
|
// field-name = token
|
|
// field-name = token
|
|
|
|
|
+// token = 1*tchar
|
|
|
// tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." /
|
|
// tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." /
|
|
|
-// "^" / "_" / "
|
|
|
|
|
|
|
+// "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA
|
|
|
// Further, http2 says:
|
|
// Further, http2 says:
|
|
|
// "Just as in HTTP/1.x, header field names are strings of ASCII
|
|
// "Just as in HTTP/1.x, header field names are strings of ASCII
|
|
|
// characters that are compared in a case-insensitive
|
|
// characters that are compared in a case-insensitive
|