Gregory (Grisha) Trubetskoy wrote:
On Wed, 30 Nov 2005, Jorey Bump wrote:
>>
req.add_common_vars() servername = req.subprocess_env['SERVER_NAME']That's a waste of CPU cycles, since add_common_vars() copies it from req.server.server_hostname (most likely, haven't check for sure)
It may be wasteful for fetching a single environment value, but add_common_vars() gathers all sorts of disparate information into one interface, subprocess_env, for those with a CGI bent.
