Skip to content

Instantly share code, notes, and snippets.

@moshez
Created April 28, 2015 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moshez/57cb99bc0a8c76fab974 to your computer and use it in GitHub Desktop.
Save moshez/57cb99bc0a8c76fab974 to your computer and use it in GitHub Desktop.
from werkzeug.routing import Map, Rule
a=Map(rules=[Rule('/<__rest__>')])
c=a.bind('foo', path_info='/foo/%0A%0D')
c.match()
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment