#5176: Bug in django.utils.cache._generate_cache_key(request, headerlist,
key_prefix)
-----------------------------------+----------------------------------------
Reporter: Eratothene | Owner: nobody
Status: reopened | Milestone:
Component: Cache system | Version: SVN
Resolution: | Keywords: cache session
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Comment (by lcordier):
It seems this ticket needs to be renamed, currently the problem is only
related to django.test.client. What is happening is that it uses a
!SimpleCookie as an cookie jar.
It is trying to send that object in the HTTP request. I have added a
function to turn this cookie jar into a proper HTTP_COOKIE string. It
solves the problem in terms of using !SimpleCookie as the cookie jar.
However, I would like the cookie jar upgraded (maybe a new ticket?), so
that it deals better with cookies. At the creation of the
request environment, the request path and request time should be passed to
the cookie jar and only the cookies that actually match those parameters
should be returned and
used in the HTTP request.
--
Ticket URL: <http://code.djangoproject.com/ticket/5176#comment:9>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---