Lines Matching refs:app
31 app = loader.get_app(app_name, global_conf=global_conf)
32 urlmap[path] = app
103 for app_url, app in self.applications:
120 app = httpexceptions.HTTPNotFound(
123 return app(environ, start_response)
153 (domain, url), app = app_desc
163 def __setitem__(self, url, app): argument
164 if app is None:
173 self.applications.append((dom_url, app))
178 for app_url, app in self.applications:
180 return app
187 for app_url, app in self.applications:
189 self.applications.remove((app_url, app))
196 return [app_url for app_url, app in self.applications]
209 for (domain, app_url), app in self.applications:
216 return app(environ, start_response)
243 def __setitem__(self, url, app): argument
244 if isinstance(app, (str, unicode)):
245 app_fn = os.path.join(self.base_path, app)
246 app = self.builder(app_fn)
252 self.map[url] = app