Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.055 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.04; 'charset:iso-8859-7': 0.04; 'subject:script': 0.09; 'cookie,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'subject:that': 0.31; 'subject:the': 0.34; 'received:google.com': 0.35; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'does?': 0.84; 'text/html;': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=L8DA+dSqC8qo9PK72Uk+LN8jEPcjaEg2XiFmLGXhl1o=; b=DERAskyQx/3Wq7zdfxl1DjTyaJJZOUyzIHqF9VrwZIG8wcrtYU+SSFcgyEsps9CNlT Pipos1MmpFQHurOS47/yOBnjr41DjP0QkwxApXaw940RB8mRZuoiqBFYFswe1r5KG4fs Nu2dZZEmS4cnY6kkO+6+ZiKF45YAB5043rF4ukxQ35G/M9Fk3QTC0qXNxMHcrFr3d+jP 7FeTFSyrzMKZSwBmyayr4EHM0fLbQqHmgHPdTtKVC9c6V1SD6Uju+8M6E07clMJJ1fva v9iI4z93R9OldbVWtucqOOqE8+PlxVY64XD3AluumRsU2nlwulgz+KbnlYC65O1IEGIK 8cVA== MIME-Version: 1.0 X-Received: by 10.220.111.133 with SMTP id s5mr21116182vcp.63.1370463259392; Wed, 05 Jun 2013 13:14:19 -0700 (PDT) In-Reply-To: <400ea041-adcf-4640-8872-f81808f7d402@googlegroups.com> References: <400ea041-adcf-4640-8872-f81808f7d402@googlegroups.com> Date: Thu, 6 Jun 2013 06:14:19 +1000 Subject: Re: Errin when executing a cgi script that sets a cookie in the browser From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370463268 news.xs4all.nl 15883 [2001:888:2000:d::a6]:39394 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:47145 On Thu, Jun 6, 2013 at 5:54 AM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1=F2= wrote: > print( cookie, "Content-type: text/html; charset=3Dutf-8\n", message ) > Do you know what this does? Try it at the console. See what it outputs. ChrisA