parameters: (self, parsed_url, strip_nav=False)
return_statement: return os.path.normpath(os.curdir + path)
docstring: Get the relative path from the current directory to the requested file.
docstring_summary: Get the relative path from the current directory to the requested file.
docstring_tokens: Get the relative path from the current directory to the requested file .
function: def _GetRequestPath(self, parsed_url, strip_nav=False):
      """Get the relative path from the current directory to the requested file.
      """
      path = parsed_url.path
      if strip_nav:
        path = parsed_url.path.replace('/nav', '')
      return os.path.normpath(os.curdir + path)
function_tokens: def _GetRequestPath ( self , parsed_url , strip_nav = False ) : path = parsed_url . path if strip_nav : path = parsed_url . path . replace ( '/nav' , '' ) return os . path . normpath ( os . curdir + path )