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