mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibWeb: Make Document::set_cookie take a StringView
Enabled by also making the same change to ParsedCookie::parse_cookie :^)
This commit is contained in:
parent
642802d339
commit
8ad05fff4a
4 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ static void on_http_only_attribute(ParsedCookie& parsed_cookie);
|
|||
static void on_same_site_attribute(ParsedCookie& parsed_cookie, StringView attribute_value);
|
||||
static Optional<UnixDateTime> parse_date_time(StringView date_string);
|
||||
|
||||
Optional<ParsedCookie> parse_cookie(DeprecatedString const& cookie_string)
|
||||
Optional<ParsedCookie> parse_cookie(StringView cookie_string)
|
||||
{
|
||||
// https://tools.ietf.org/html/rfc6265#section-5.2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue