(path)
| 397 | if filters: |
| 398 | |
| 399 | def getargs(path): |
| 400 | url_args = re_match(path).groupdict() |
| 401 | for name, wildcard_filter in filters: |
| 402 | try: |
| 403 | url_args[name] = wildcard_filter(url_args[name]) |
| 404 | except ValueError: |
| 405 | raise HTTPError(400, 'Path has wrong format.') |
| 406 | return url_args |
| 407 | elif re_pattern.groupindex: |
| 408 | |
| 409 | def getargs(path): |