Home
last modified time | relevance | path

Searched refs:path_info (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Drequest.py208 script_name=None, path_info=None, querystring=None):
245 if path_info is None:
248 url += quote(path_info)
269 def path_info_split(path_info): argument
277 if not path_info:
279 assert path_info.startswith('/'), (
280 "PATH_INFO should start with /: %r" % path_info)
281 path_info = path_info.lstrip('/')
282 if '/' in path_info:
283 first, rest = path_info.split('/', 1)
[all …]
Drecursive.py43 path_info = environ.get('PATH_INFO','')
44 if path_info in self.env.get(
49 % (path_info, self.env['paste.recursive.old_path_info']))
178 path_info=None): argument
194 if path_info:
202 self.path_info = path_info
206 self.path_info = url
215 p = self.path_info
267 path_info = '/' + path
268 environ['PATH_INFO'] = path_info
Durlmap.py207 path_info = environ.get('PATH_INFO')
208 path_info = self.normalize_url(path_info, False)[1]
212 if (path_info == app_url
213 or path_info.startswith(app_url + '/')):
215 environ['PATH_INFO'] = path_info[len(app_url):]
Dpony.py34 path_info = environ.get('PATH_INFO', '')
35 if path_info == '/pony':
Durlparser.py145 path_info = environ.get('PATH_INFO', '')
146 if not path_info:
440 path_info = environ.get('PATH_INFO', '')
441 if not path_info:
443 if path_info == '/':
548 path_info = environ.get('PATH_INFO', '')
549 if not path_info:
551 if path_info == '/':
Dwsgilib.py306 (_, _, path_info, query, fragment) = urlsplit(str(path))
307 path_info = unquote(path_info)
309 path_info, query = str(path_info), str(query)
310 basic_environ['PATH_INFO'] = path_info
Durlmap.py.orig207 path_info = environ.get('PATH_INFO')
208 path_info = self.normalize_url(path_info, False)[1]
212 if (path_info == app_url
213 or path_info.startswith(app_url + '/')):
215 environ['PATH_INFO'] = path_info[len(app_url):]
Dproxy.py105 path_info = quote(environ['PATH_INFO'])
107 request_path = path_info
113 path = path_info
Dfileapp.py283 path_info = environ['PATH_INFO']
284 app = self.cached_apps.get(path_info)
286 path = os.path.join(self.path, path_info.lstrip('/'))
291 self.cached_apps[path_info] = app
Durl.py77 path_info=None, querystring=None): argument
81 path_info=path_info)
Dwsgiwrappers.py133 path_info = environ_getter('PATH_INFO') variable in WSGIRequest
285 pf(self.path_info))
/external/jetty/src/java/org/eclipse/jetty/servlet/
DInvoker.java124 String path_info = (String)request.getAttribute(Dispatcher.INCLUDE_PATH_INFO); in service() local
125 if (path_info==null) in service()
126 path_info=request.getPathInfo(); in service()
129 String servlet = path_info; in service()
232 new InvokedRequest(request,included,servlet,servlet_path,path_info), in service()
/external/webrtc/test/testsupport/
Dfileutils.cc94 struct stat path_info = {0}; in CreateDirectory() local
96 if (stat(directory_name.c_str(), &path_info) == 0) { in CreateDirectory()
97 if (!S_ISDIR(path_info.st_mode)) { in CreateDirectory()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/cowbell/
D__init__.py13 path_info = environ.get('PATH_INFO', '')
16 if path_info == '/.cowbell/'+ filename:
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Drequest.py330 path_info = environ_decoder('PATH_INFO', encattr='url_encoding') variable in BaseRequest
334 upath_info = path_info
477 bpath_info = bytes_(self.path_info, self.url_encoding)
486 bpath = bytes_(self.path_info, self.url_encoding)
539 path = self.path_info
552 self.path_info = path[idx:]
560 path = self.path_info
1444 path_info, query_string = path.split('?', 1)
1445 path_info = url_unquote(path_info)
1447 path_info = url_unquote(path)
[all …]
Dstatic.py138 req.path_info.lstrip('/')))
161 if not req.path_info.endswith('/'):
Dresponse.py1251 path_info = bytes_(environ.get('PATH_INFO', ''), 'latin-1')
1254 path_info = environ.get('PATH_INFO', '')
1257 qpath_info = url_quote(path_info)
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/pycon2011/
Drequest_table.rst44 path_info ???path cached_property
144 …<mitsuhiko> mcdonc: script_root and path in werkzeug are not quite script_name and path_info in we…
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
Ddoctest_webapp.py112 def show(path_info, example_name): argument
117 url = default_url + path_info
123 '--url=' + path_info],
/external/chromium-trace/trace-viewer/third_party/Paste/docs/
Ddo-it-yourself-framework.txt191 path_info = environ.get('PATH_INFO', '')
192 if not path_info or path_info == '/':
196 path_info = path_info.lstrip('/')
199 parts = path_info.split('/', 1)
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_recursive.py104 raise ForwardRequestException(path_info=self.url)
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/wiki-example-code/
Dexample.py63 page = self.get_page(req.path_info)
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/guide/
Dtesting.rst66 A URI path, urlencoded. The path will become path_info, with any query
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Dwiki-example.txt154 page = self.get_page(req.path_info)
175 the path (the path is in ``req.path_info``, which is all the path
294 * req.path_info: ``/article/12``
297 One non-obvious part is ``req.script_name`` and ``req.path_info``.
Dnews.txt276 Unicode for ``request.path_info`` and ``request.script_name`` under Python
299 ``request.path_info`` and ``request.script_name`` APIs are used.
351 ``path_info`` back again to contain "raw" undecoded native strings rather
365 * ``req.script_name`` and ``path_info`` now contain text, not bytes.
744 the ``path_info`` segment to match the passed regexp to get popped and returned.
859 * Add Unicode versions of ``Request.script_name`` and ``path_info``:
1126 properly settable environ proxies (like ``req.path_info``).

12