Referrer key missing form os.environ dictionary?

John Gordon gordon at panix.com
Wed Sep 25 12:27:23 EDT 2013


In <l1v07g$tej$2 at dont-email.me> =?UTF-8?B?zp3Or866zr/Pgg==?= <nikos.gr33k at gmail.com> writes:

> So you mean that even if i run it via shell this stement will  also work 
> because it happens to be in the same enviroment with the HTTP server?

No.  Each process has its own environment.  Your shell's environment
knows nothing about the web server's environment.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list