{ "info": { "author": "Dieter Maurer", "author_email": "dieter@handshake.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Zope", "Framework :: Zope2", "Framework :: Zope :: 4", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "This package patches the web application server Zope to improve its\ncookie handling.\n\nCurrently, it defines ``register_cookie_param(`` *name*, *type* ``='string'``, *pname* ``=None)``\nto define additional parameters recognized when cookies are generated.\n*name* is the parameter given to Zope's ``setCookie`` method, *pname*\nis the corresponding parameter name in the generated ``Set-Cookie`` response header.\nIf not specified, *pname* is derived from *name* by replacing ``_`` by ``-``.\n*type* specifies this parameter's type. Currently defined values are\n``'string'`` (normal string, quoted when it contains whitespace, comma or\nsemicolon), ``'quoted-string'`` (a string unconditionally quoted),\n``'boolean'`` (boolean parameter, only the name and no value is generated), ``sequence`` (generates a quoted comma separated sequence).\n\n**ATTENTION** `RFC 6265`__ has drastically simplified the ``Set-Cookie`` syntax\n(over the now obsolete `RFC 2965`__):\nit is no longer possible to quote ``;`` by\nincluding it in a doubly quoted string. This means that ``;`` can no\nlonger be part of a cookie attribute value\n(unless `RFC 2047`__ encoded).\n\n__ https://tools.ietf.org/html/rfc6265#page-17\n__ https://tools.ietf.org/html/rfc2965\n__ https://tools.ietf.org/html/rfc2047\n\n\nImport of ``dm.zopepatches.cookies.httponly`` provides for ``httponly``\nsupport. It registers both ``httponly`` as well as ``http_only``.\nThe former is the spelling consistent with other cookie parameters, the\nlatter is the spelling used by Zope 2.12.\n\n\nHistory\n=======\n\n2.0\n\n Made compatible with Python 3 and Zope [4].\n\n Made compatible with RFC 6025", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/dm.zopepatches.cookies", "keywords": "application development menu web cookie", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "dm.zopepatches.cookies", "package_url": "https://pypi.org/project/dm.zopepatches.cookies/", "platform": "", "project_url": "https://pypi.org/project/dm.zopepatches.cookies/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/dm.zopepatches.cookies" }, "release_url": "https://pypi.org/project/dm.zopepatches.cookies/2.0/", "requires_dist": null, "requires_python": "", "summary": "Patches for Zope's cookie handling.", "version": "2.0" }, "last_serial": 5242062, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "beb19c991a5ca29fbc2242fb10732db5", "sha256": "3ffa63f34a1f196f29eb2cf417902c542f9168352a56c7f82fa343e51396dff5" }, "downloads": -1, "filename": "dm.zopepatches.cookies-1.0.tar.gz", "has_sig": false, "md5_digest": "beb19c991a5ca29fbc2242fb10732db5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4229, "upload_time": "2009-10-20T18:52:39", "url": "https://files.pythonhosted.org/packages/1e/c9/59085fcc336febc5a45685e48f1326086393332fe56349c8f677606ea58a/dm.zopepatches.cookies-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "407e3d423135849c1aac97d40a43241d", "sha256": "0b8a6f63f22659ccfab71d3bf974f553a9b323fa20daccdb185e231ce0673e9c" }, "downloads": -1, "filename": "dm.zopepatches.cookies-1.0.1.tar.gz", "has_sig": false, "md5_digest": "407e3d423135849c1aac97d40a43241d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4353, "upload_time": "2009-10-24T07:59:04", "url": "https://files.pythonhosted.org/packages/f7/76/9a9982dffcd729cd386979eacd1e5d235ec71274f56a9ae66d9294a57dec/dm.zopepatches.cookies-1.0.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "bb34763719b0abdc201886e32b7d1824", "sha256": "e0adcc33376fbbf213ffb0dd23a1ef00d9c2cca07e8e8951df256a8ea6014779" }, "downloads": -1, "filename": "dm.zopepatches.cookies-2.0.tar.gz", "has_sig": false, "md5_digest": "bb34763719b0abdc201886e32b7d1824", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5187, "upload_time": "2019-05-08T09:03:26", "url": "https://files.pythonhosted.org/packages/99/00/d849239683e0c69e5aeb5c5d59dad30729d58fe6e0506f01716032c2e3ad/dm.zopepatches.cookies-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bb34763719b0abdc201886e32b7d1824", "sha256": "e0adcc33376fbbf213ffb0dd23a1ef00d9c2cca07e8e8951df256a8ea6014779" }, "downloads": -1, "filename": "dm.zopepatches.cookies-2.0.tar.gz", "has_sig": false, "md5_digest": "bb34763719b0abdc201886e32b7d1824", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5187, "upload_time": "2019-05-08T09:03:26", "url": "https://files.pythonhosted.org/packages/99/00/d849239683e0c69e5aeb5c5d59dad30729d58fe6e0506f01716032c2e3ad/dm.zopepatches.cookies-2.0.tar.gz" } ] }