Home | History | Annotate | Download | only in cros

Lines Matching full:path

70         path = urlparse.urlparse(self.path)[2]
71 if path in self.server._url_handlers:
72 self.server._url_handlers[path](self, form)
89 self.wfile.write('Request for path: %s\n' % self.path)
108 def translate_path(self, path):
113 path = urlparse.urlparse(path)[2]
114 path = posixpath.normpath(urllib.unquote(path))
115 words = path.split('/')
117 path = self.server.docroot
119 drive, word = os.path.splitdrive(word)
120 head, word = os.path.split(word)
122 path = os.path.join(path, word)
123 logging.debug('Translated path: %s', path)
124 return path
129 if self.path in wait_urls:
130 _, e = wait_urls[self.path]
132 del wait_urls[self.path]
134 logging.debug('URL %s not in watch list' % self.path)
143 split_url = urlparse.urlsplit(self.path)
144 path = split_url[2]
145 # Strip off query parameters to ensure that the url path
147 self.path = path
149 if path in self.server._url_handlers:
150 self.server._url_handlers[path](self, args)