- From: Rory Hewitt <rory.hewitt@gmail.com>
- Date: Fri, 13 Dec 2024 13:13:14 -0800
- To: Steven Bingler <bingler@google.com>
- Cc: Mark Thomas <markt@apache.org>, ietf-http-wg@w3.org
Received on Friday, 13 December 2024 21:13:31 UTC
I commented in the github issue (and I forget the syntax used in other RFC's), but couldn't/shouldn't this alternately be: set-cookie = "Set-Cookie":" BWS set-cookie-string set-cookie-string = BWS cookie-pair *( BWS ";" OWS cookie-av ) IOW, the set-cookie includes the definition of the header name itself? On Fri, Dec 13, 2024 at 11:46 AM Steven Bingler <bingler@google.com> wrote: > Hi Mark, > > I think that's a reasonable idea. I'm already working on some minor > editorial changes to the spec anyway, so I'll add this one in. > > I've created https://github.com/httpwg/http-extensions/issues/2969 to > track it > > Thanks, > - Steven > > On Tue, Dec 10, 2024 at 11:59 AM Mark Thomas <markt@apache.org> wrote: > >> Reading through the latest draft it appears that there is an opportunity >> to simplify the grammar a little. The definition of set-cookie doesn't >> appear to be adding anything. i.e.: >> >> set-cookie = set-cookie-string >> set-cookie-string = BWS cookie-pair *( BWS ";" OWS cookie-av ) >> >> could be >> >> set-cookie-string = BWS cookie-pair *( BWS ";" OWS cookie-av ) >> >> >> If this seems reasonable, I'm happy to produce a PR for this. >> >> Mark >> >> -- Rory Hewitt https://www.linkedin.com/in/roryhewitt
Received on Friday, 13 December 2024 21:13:31 UTC