mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-18 01:16:43 +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()
|
expires = parse(value).timestamp()
|
||||||
|
|
||||||
return Cookie(
|
return Cookie(
|
||||||
version=None,
|
version=0,
|
||||||
name=name, value=value,
|
name=name, value=value,
|
||||||
port=None, port_specified=False,
|
port=None, port_specified=False,
|
||||||
domain=domain, domain_specified=True, domain_initial_dot=False,
|
domain=domain, domain_specified=True, domain_initial_dot=False,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user