Skip to content

Commit

Permalink
Clarify empty cookie name handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sbingler committed Dec 6, 2024
1 parent 4d8cdc4 commit e78f50e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions draft-ietf-httpbis-rfc6265bis.md
Original file line number Diff line number Diff line change
Expand Up @@ -1347,9 +1347,10 @@ parse a set-cookie-string:
3. If the name-value-pair string lacks a %x3D ("=") character, then the name
string is empty, and the value string is the value of name-value-pair.

Otherwise, the name string consists of the characters up to, but not
including, the first %x3D ("=") character, and the (possibly empty) value
string consists of the characters after the first %x3D ("=") character.
Otherwise, the (possibly empty) name string consists of the characters up
to, but not including, the first %x3D ("=") character, and the (possibly
empty) value string consists of the characters after the first %x3D ("=")
character.

4. Remove any leading or trailing WSP characters from the name string and the
value string.
Expand Down

0 comments on commit e78f50e

Please sign in to comment.