Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11315

Re: Problem reading HTTP_COOKIE

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'framework,': 0.09; 'port,': 0.09; 'subject:Problem': 0.09; 'server,': 0.12; 'debugging': 0.13; 'earlier,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:209.85.213.174': 0.16; 'received:mail-yx0-f174.google.com': 0.16; 'refresh': 0.16; 'this:': 0.16; 'issue.': 0.19; 'header:In-Reply-To:1': 0.22; 'server': 0.29; 'message-id:@mail.gmail.com': 0.29; "won't": 0.29; 'shut': 0.30; 'chris': 0.32; 'it.': 0.33; "can't": 0.33; 'to:addr :python-list': 0.33; 'setting': 0.34; 'page.': 0.36; 'http': 0.37; 'not,': 0.38; 'think': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'raw': 0.40; 'your': 0.61; 'browser': 0.61
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9REXlisIa8wR1VxdEyo5Fr8PBbc9lRFzmH06upnEYp8=; b=QB3ZuNVKzZ15Yaor/PIr12frqffbAjg/EPgdg3yprq6jf52b+MlQWw9nkfEFAZykV3 wfEVDJHN0muSVKOgQ09ZPexilyuXkmXVaJW0bg3q02rb+vLpzi2+p8jw+fmuqONwkpV6 lXhr4WUmSpBhc6W+2iFHsNB+huSMQ7jc3RoUE=
MIME-Version 1.0
In-Reply-To <SNT144-W163BA2BD39E1A193122A05C7250@phx.gbl>
References <SNT144-W494614E354EFD78D3774A5C7250@phx.gbl> <CAPTjJmptBdcnEHfhX=G0_Oss9r-p2UAY2TfM2fOzGP9X3453pg@mail.gmail.com> <SNT144-W163BA2BD39E1A193122A05C7250@phx.gbl>
Date Fri, 12 Aug 2011 23:31:51 +0100
Subject Re: Problem reading HTTP_COOKIE
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2242.1313188314.1164.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1313188314 news.xs4all.nl 23838 [2001:888:2000:d::a6]:37154
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:11315

Show key headers only | View raw


I think the best thing to do would be to look at the raw headers. If
you can't do that in your framework, then try this: set the cookie,
shut down your server, fire up a debugging HTTP server on the same
port, and then refresh the page. If your browser is sending the
cookie, you'll see it in the HTTP request; if not, you have a
configuration issue.

As I said earlier, setting the cookie with a path like that may mean
that the browser won't send it.

Chris Angelico

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Problem reading HTTP_COOKIE Chris Angelico <rosuav@gmail.com> - 2011-08-12 23:31 +0100

csiph-web