You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def Field_name =
block
-- Field names must start with an ASCII letter and can include
-- letters, digits, or '-' characters.
let head = $alpha
let tail = Many $[ $alpha | '-' | $digit ]
let result = concat [[head], tail]
^ map (c in result)
toLower c
To match the RFC, I think it should look more like this:
def Field_name =
block
let result = Many $[ '!' | '#' | '$' | '%' | '&' | "'" | '*' | '+' | '-' | '.' | '^' | '_' | '`' | '|' | '~' | $digit | $alpha ]
^ map (c in result)
toLower c
Just wanted to submit an issue before PR, in case there's a place in the spec that I missed that specifies the restrictions implemented in HTTP-1.1.ddl.
The text was updated successfully, but these errors were encountered:
RFC 9110 defines
field-name
with the following productions:We HTTP-1.1.ddl defines it like this:
To match the RFC, I think it should look more like this:
Just wanted to submit an issue before PR, in case there's a place in the spec that I missed that specifies the restrictions implemented in HTTP-1.1.ddl.
The text was updated successfully, but these errors were encountered: