new cookie api
Bug #176752 reported by
Aaron Swartz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Confirmed
|
Medium
|
Anand Chitipothu |
Bug Description
the current cookie API is kind of confusing. what if we just provided
a storage-like object so that you could do:
>>> web.cookies.foo
AttributeError: no such attribute 'foo'
>>> web.cookies.foo = 'bar'
>>> web.cookies.foo
'bar'
>>> del web.cookies['foo']
>>> web.cookies.
this would replace web.cookies and web.setcookie
Changed in webpy: | |
milestone: | 0.3 → 0.35 |
To post a comment you must log in.
I can probably implement this if you want