./www/py-cookies [friendlier RFC 6265-compliant cookie parser/renderer]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 2.2.1, Package name: py-cookies-2.2.1
Maintained by: Kurt Mosiejczuk
Master sites:
Flavors (export FLAVOR=xyz, setenv FLAVOR xyz):
  • python3
Description
cookies.py is a Python module for working with HTTP cookies: parsing
and rendering 'Cookie:' request headers and 'Set-Cookie:' response
headers, and exposing a convenient API for creating and modifying
cookies. It can be used as a replacement of Python's Cookie.py (aka
http.cookies).

Features

Rendering according to the excellent new RFC 6265 (rather than using
a unique ad hoc format inconsistently relating to unrealistic, very
old RFCs which everyone ignored). Uses URL encoding to represent
non-ASCII by default, like many other languages' libraries

Liberal parsing, incorporating many complaints about Cookie.py
barfing on common cookie formats which can be reliably parsed (e.g.
search 'cookie' on the Python issue tracker)

Well-documented code, with chapter and verse from RFCs (rather than
arbitrary, undocumented decisions and huge tables of magic values,
as you see in Cookie.py).

Test coverage at 100%, with a much more comprehensive test suite
than Cookie.py


Filesize: 39.75 KB
Version History (View Complete History)
  • (2019-11-08) Package added to openports.se, version py-cookies-2.2.1 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2021-11-01 18:03:00 by Stuart Henderson | Files touched by this commit (131)
Log message:
bump REVISION for switch from Python 3.8 -> 3.9
   2021-10-24 03:28:54 by Stuart Henderson | Files touched by this commit (138)
Log message:
switch some Python ports to py3-only. maintainer oks for the relevant
ports from semarie, kmos, jung, martin, benoit, juanfra. general oks
benoit bket daniel kmos
   2021-05-21 13:50:39 by Kurt Mosiejczuk | Files touched by this commit (326)
Log message:
Bump the REVISION on all ports that use the python2 version of
py-setuptools.
Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports
ok sthen@
   2020-07-03 15:13:23 by Stuart Henderson | Files touched by this commit (1032)
Log message:
bump REVISION; python 3 default changed to 3.8