On 3/6/2011 4:55 PM, Nicholas Devenish wrote:
On 04/03/2011 16:40, nn wrote:
As far as I know, that is pretty much it. Also see:
http://bugs.python.org/issue3982
That is a depressing bug report, and really comes across as people who
don't use networking commenting on the requirements of peopl
On 04/03/2011 16:40, nn wrote:
As far as I know, that is pretty much it. Also see:
http://bugs.python.org/issue3982
That is a depressing bug report, and really comes across as people who
don't use networking commenting on the requirements of people who write
networking code.
It's good to s
On Mar 4, 6:40 pm, nn wrote:
> On Mar 4, 7:32 am, "Frank Millman" wrote:
>
> > Hi all
>
> > I want to create a cookie containing a session id. In python 2.6 I had the
> > following -
>
> > from __future__ import unicode_literals
> > session_id = b64encode(urandom(20))
> > response_headers.append(
On Mar 4, 7:32 am, "Frank Millman" wrote:
> Hi all
>
> I want to create a cookie containing a session id. In python 2.6 I had the
> following -
>
> from __future__ import unicode_literals
> session_id = b64encode(urandom(20))
> response_headers.append(
> (b'Set-Cookie', b'sid="{0}"'.format(ses
Hi all
I want to create a cookie containing a session id. In python 2.6 I had the
following -
from __future__ import unicode_literals
session_id = b64encode(urandom(20))
response_headers.append(
(b'Set-Cookie', b'sid="{0}"'.format(session_id)))
After upgrading to 3.2, the above lines gener