137
138
self.uri = os.environ['SCRIPT_NAME'] + os.environ['PATH_INFO']
138
139
# Split the given path into the app (top-level dir) and sub-path
139
140
# (after first stripping away the root directory)
147
147
self.hostname = os.environ['SERVER_NAME']
148
148
self.headers_in = _http_headers_in_from_cgi()