The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Dan Watson <dcwat...@gmail.com>
Date: Fri, 25 Sep 2009 04:02:56 -0700 (PDT)
Local: Fri, Sep 25 2009 7:02 am
Subject: Re: Adding signing (and signed cookies) to Django core
On Sep 24, 3:46 pm, Simon Willison <si...@simonwillison.net> wrote:
> > 1) request.unsign_cookie('foo') -- This breaks the parallelism with
What about having something like:
> > existing cookies. Sometimes we'll be doing request.COOKIES['foo'] and > > sometimes we'll be doing request.unsign_cookie('foo'). > If we were going to do that, it would make sense to NOT have set_cookie
> response.sign_cookie('key', 'value')
> You can still read request.COOKIES directly, but you'll get the raw,
request.get_cookie(key, signed=True)
that would fall back to returning request.COOKIES[key] when
Dan You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||