#19585 closed Bug (fixed)
Unable to load cookie values as a dict
| Reported by: | Claude Paroz | Owned by: | nobody |
|---|---|---|---|
| Component: | HTTP handling | Version: | dev |
| Severity: | Release blocker | Keywords: | regression |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Starting from the unicode_literals patch, we lost the possibility to load a cookie value by passing a dict to the load() method, as allowed by the Python docs (http://docs.python.org/2/library/cookie.html#Cookie.BaseCookie.load).
We shouldn't inconditionally transform the rawdata parameter in a string.
Attachments (1)
Change History (5)
by , 13 years ago
| Attachment: | 19585-1.diff added |
|---|
comment:1 by , 13 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Looks good to me.