mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-10 06:06:41 +00:00
add cookie stuff
This commit is contained in:
parent
e5b5fa9c25
commit
b4123b6a3f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user