From b4123b6a3f3d64982210f63ab4514258e8b5c205 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 17 Dec 2019 10:15:16 -0500 Subject: [PATCH] add cookie stuff --- README.md | 6 +++++- hexlib/web.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c5a0fa..fa741ad 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -Misc utility methods in Python \ No newline at end of file +Misc utility methods in Python + +``` +git+git://github.com/simon987/hexlib.git +``` \ No newline at end of file diff --git a/hexlib/web.py b/hexlib/web.py index d7eb551..11fbba2 100644 --- a/hexlib/web.py +++ b/hexlib/web.py @@ -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,