On Thu, 2008-11-20 at 07:17 -0200, Ramiro Morales wrote:
> On Sun, Nov 16, 2008 at 10:14 PM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello Ramiro,
> >
> > thanks for your reply. According to the docs, the Locale and Session
> > middlewares should set the Vary-On headers accordingly, and indeed
> > they are:
> >
> > Date: Sun, 16 Nov 2008 23:49:29 GMT
> > Server: WSGIServer/0.1 Python/2.5.2
> > Vary: Accept-Language, Cookie
> > Content-Type: text/html; charset=utf-8
> > Content-Language: de
> >
> > 200 OK
> >
> > I'm lost. Maybe Beegee from the other thread found a solution in the
> > meantime.
> 
> I asked Antoni Aloy that was the OP in one of these threads.
> He pointed me to [1]ticket 5691 he opened back then. You might want to take
> a look at it (to know propossed solutions, code devs opinions and
> perhaps to post feedback and enhance the patch si it can be applied?).

That ticket was mostly just waiting until we sorted out the whole
problem with cache middleware ordering with respect to almost everything
else (especially sessions). That's ticket #730 that is referred to
there. We fixed that properly in time for 1.0, so that ticket can now
move ahead.

Andrew's final comment on that ticket is accurate. Removing the code
duplication is pretty easy there and following the examples in
tests/regressiontests/middleware/tests.py to create some tests for it
should be fairly straightforward as well. So it looks close.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to