mirror of
https://github.com/simon987/hexlib.git
synced 2025-12-13 06:39:04 +00:00
add cookie stuff
This commit is contained in:
@@ -1 +1,5 @@
|
||||
Misc utility methods in Python
|
||||
Misc utility methods in Python
|
||||
|
||||
```
|
||||
git+git://github.com/simon987/hexlib.git
|
||||
```
|
||||
@@ -20,7 +20,7 @@ def cookie_from_string(text: str, domain: str) -> Cookie:
|
||||
expires = parse(value).timestamp()
|
||||
|
||||
return Cookie(
|
||||
version=None,
|
||||
version=0,
|
||||
name=name, value=value,
|
||||
port=None, port_specified=False,
|
||||
domain=domain, domain_specified=True, domain_initial_dot=False,
|
||||
|
||||
Reference in New Issue
Block a user