Lines Matching refs:URLParser
113 Let's consider Paste's ``URLParser`` (in ``paste.urlparser``). This
125 URLParser serves directories. When ``PATH_INFO`` is empty, that
127 If URLParser serves the ``blog`` directory, then this won't do --
134 "index" page. In URLParser, this is some file named ``index``,
141 URLParser pulls off the first part of the path. E.g., if
146 It then searches for a file that matches "blog". In URLParser, this
152 application is *another* URLParser instance, this time with the new
155 URLParser actually allows per-extension "plugins" -- these are just
168 In any case, ``URLParser`` delegates as soon as it can. It doesn't
172 Here's a very simple implementation of URLParser::
174 class URLParser(object):
190 return URLParser(filename)(environ, start_response)
204 Well, URLParser is one kind of parser. But others are possible, and
215 handle it. This "application" might be a URLParser or similar system