-
-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
Hello, I'm trying to build a parser and serializer for the netscape cookie format. Being an older format, the leading . for domains is significant for serialization, even if it is generally ignored during deserialization and use. I noticed that this library doesn't seem to expose any way to check if the domain has a leading dot. Would it be possible to introduce a simple function like fn domain_has_leading_dot(&self) -> bool (probably with a big warning in the documentation) to the cookie type to check for leading dots in the domain?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels