Searched refs:strict_slash (Results 1 – 3 of 3) sorted by relevance
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
D | routes.py | 236 strict_slash=False): argument 279 if strict_slash and not name: 282 self.strict_slash = strict_slash 302 if self.strict_slash is True:
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
D | extras_routes_test.py | 20 RedirectRoute('/strict-foo', HomeHandler, 'foo-strict', strict_slash=True), 21 RedirectRoute('/strict-bar/', HomeHandler, 'bar-strict', strict_slash=True), 89 …elf.assertRaises(ValueError, RedirectRoute, '/strict-bar/', handler=HomeHandler, strict_slash=True)
|
/external/chromium-trace/catapult/third_party/webapp2/ |
D | CHANGES | 589 - ImprovedRoute: a route with redirect_to and strict_slash. 598 - `strict_slash`: if True, redirects access to the same URL with different 602 route = Route('/foo', FooHandler, strict_slash=True) 603 route = Route('/bar/', BarHandler, strict_slash=True) 605 Because **strict_slash** is True, this is what will happen:
|