30
30
self.method = environ['REQUEST_METHOD']
31
31
if '://' in environ['PATH_INFO']:
32
32
# All the needed information is embedded in PATH_INFO.
34
34
self.application = shift_path_info(environ)
35
35
path = environ['PATH_INFO'].split('/')
38
38
elif environ['SCRIPT_NAME'] == '':
39
39
# Remove the application to set the path.