Searched refs:translate_path (Results 1 - 9 of 9) sorted by relevance

/external/python/cpython2/Lib/test/
H A Dtest_SimpleHTTPServer.py23 path = self.handler.translate_path ('/filename')
25 path = self.handler.translate_path ('/filename?foo=bar')
27 path = self.handler.translate_path ('/filename?a=b&spam=eggs#zot')
31 path = self.handler.translate_path ('//filename')
33 path = self.handler.translate_path ('//filename?foo=bar')
H A Dtest_httpservers.py633 path = self.handler.translate_path('/filename')
635 path = self.handler.translate_path('/filename?foo=bar')
637 path = self.handler.translate_path('/filename?a=b&spam=eggs#zot')
641 path = self.handler.translate_path('//filename')
643 path = self.handler.translate_path('//filename?foo=bar')
649 path = self.handler.translate_path('c:c:c:foo/filename')
653 path = self.handler.translate_path('\\c:../filename')
657 path = self.handler.translate_path('c:\\c:..\\foo/filename')
661 path = self.handler.translate_path('c:c:foo\\c:c:bar/filename')
H A Dssl_servers.py46 # need to override translate_path to get a known root,
55 def translate_path(self, path): member in class:RootedHTTPRequestHandler
/external/python/cpython2/Lib/
H A DSimpleHTTPServer.py69 path = self.translate_path(self.path)
152 def translate_path(self, path): member in class:SimpleHTTPRequestHandler
H A DCGIHTTPServer.py115 scriptdir = self.translate_path(nextdir)
134 scriptfile = self.translate_path(scriptname)
164 env['PATH_TRANSLATED'] = self.translate_path(uqrest)
/external/python/cpython3/Lib/test/
H A Dtest_httpservers.py997 path = self.handler.translate_path('/filename')
999 path = self.handler.translate_path('/filename?foo=bar')
1001 path = self.handler.translate_path('/filename?a=b&spam=eggs#zot')
1005 path = self.handler.translate_path('//filename')
1007 path = self.handler.translate_path('//filename?foo=bar')
1012 path = self.handler.translate_path('c:c:c:foo/filename')
1016 path = self.handler.translate_path('\\c:../filename')
1020 path = self.handler.translate_path('c:\\c:..\\foo/filename')
1024 path = self.handler.translate_path('c:c:foo\\c:c:bar/filename')
H A Dssl_servers.py46 # need to override translate_path to get a known root,
55 def translate_path(self, path): member in class:RootedHTTPRequestHandler
/external/python/cpython3/Lib/http/
H A Dserver.py660 path = self.translate_path(self.path)
756 def translate_path(self, path): member in class:SimpleHTTPRequestHandler
992 scriptdir = self.translate_path(nextdir)
1011 scriptfile = self.translate_path(scriptname)
1041 env['PATH_TRANSLATED'] = self.translate_path(uqrest)
/external/autotest/client/cros/
H A Dhttpd.py108 def translate_path(self, path): member in class:FormHandler
109 """Override SimpleHTTPRequestHandler's translate_path to serve

Completed in 473 milliseconds