Add more doc to the setCookie method
Bug #203918 reported by
madarche
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
In the following files
zope/publisher/
ZPublisher/
ZPublisher/
please add the following text to the docstring of the setCookie method:
"""
kw can contain named parameters such as :
- path
- domain
- expires
Example of use:
setCookie('region', 'moscow', expires="Thu, 21 Dec 1967 23:45:00", path='/foo', domain=".bar.com")
"""
Rationale: at first glance one does not think that those parameters are handled and understood by the code.
Regards
Changed in zope2: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
The zope2 project on Launchpad has been archived at the request of the Zope developers (see https:/ /answers. launchpad. net/launchpad/ +question/ 683589 and https:/ /answers. launchpad. net/launchpad/ +question/ 685285). If this bug is still relevant, please refile it at https:/ /github. com/zopefoundat ion/zope2.