On Wed, 25 Sep 2013 15:18:41 +0000, Grant Edwards wrote: >> The Referer is not an environment variable. > > It is when you're writing a CGI app. > >> How would your shell know what URL you were just browsing? > > Because the HTTP server sets those environment variables before invoking > the CGI app.
I stand corrected. That's a pretty shitty design though, isn't it? Communicating via environment variables. What is this, 1998? :-) Mind you, I'm not sure what other alternatives exist. -- Steven -- https://mail.python.org/mailman/listinfo/python-list