Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Referrer key missing form os.environ dictionary? Date: Thu, 26 Sep 2013 14:16:08 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 15 Message-ID: References: <5242f8bc$0$30000$c3e8da3$5496439d@news.astraweb.com> <52437bca$0$30000$c3e8da3$5496439d@news.astraweb.com> NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1380204968 1606 64.122.56.22 (26 Sep 2013 14:16:08 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Thu, 26 Sep 2013 14:16:08 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:54823 On 2013-09-26, Chris Angelico wrote: > On Thu, Sep 26, 2013 at 11:32 AM, Terry Reedy wrote: >> Since CGI uses stdout for the finished product, it could have used stdin for >> the input. > > Haven't used CGI in years, but I thought POST data came on stdin? Yes. The user data is read via stdin. The stuff passed via the environemnt "dictionary" is meta-data (stuff from the HTTP request headers, and stuff synthesized by the HTTP server). -- Grant Edwards grant.b.edwards Yow! ! Now I understand at advanced MICROBIOLOGY and gmail.com th' new TAX REFORM laws!!