"PATH_INFO" unnecessarily assigned twice
"Steve Hoelzer" <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
A little cleanup: Around line 934 of tools.py, "PATH_INFO" is
unnecessarily assigned twice:
env = {
"HTTP_USER_AGENT": "static renderer",
"REQUEST_METHOD": "GET",
"HTTP_HOST": "localhost",
"PATH_INFO": pathinfo,
"QUERY_STRING": querystring,
"REQUEST_URI": pathinfo + "?" + querystring,
"PATH_INFO": pathinfo,
"HTTP_REFERER": "",
"REMOTE_ADDR": "",
"SCRIPT_NAME": "",
"wsgi.errors": sys.stderr,
"wsgi.input": None
}
Steve
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/