Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def relativeEnvironment(env, relativeUrl):
    result = env.copy()
    result["SCRIPT_NAME"] = relativeUrl
    result["PATH_INFO"] = ""
    result[whiffenv.ENTRY_POINT] = relativeUrl
    return result
        


src/w/h/whiff-1.1/whiff/middleware/Eval.py   whiff(Download)
        if self.relativeUrl is not None:
            relativeUrl = self.param_value(self.relativeUrl, env)
            env = expandPostedTemplate.relativeEnvironment(env, relativeUrl)
            responding_path = relativeUrl.split("/")
            path_remainder = []