Home | History | Annotate | Download | only in build

Lines Matching full:path

43     handler = self.server.GetPathHandler(self.path, method)
48 send_500(self, 'While parsing %s' % self.path, ex, path=self.path)
55 def translate_path(self, path):
56 path = path.split('?', 1)[0]
57 path = path.split('#', 1)[0]
59 if path.startswith(TEST_DATA_PREFIX):
60 path = path[len(TEST_DATA_PREFIX):]
63 rel = os.path.relpath(path, '/')
64 candidate = os.path.join(mapped_path, rel)
65 if os.path.exists(candidate):
72 if self.path == '/favicon.ico':
74 self.log_message('While processing %s: ', self.path)
90 def send_500(self, msg, ex, log_error=True, path=None):
91 if path is None:
94 path = path.split('?', 1)[0]
95 path = path.split('#', 1)[0]
96 is_html_output = path.endswith('.html')
132 def __init__(self, path, handler, supports_get, supports_post):
133 self.path = path
138 def CanHandle(self, path, method):
139 if path != self.path:
178 def AddPathHandler(self, path, handler,
181 PathHandler(path, handler, supports_get, supports_post))
183 def GetPathHandler(self, path, method):
185 if h.CanHandle(path, method):