Yep, you should be able to read this off the request context:
http://flask.pocoo.org/docs/api/#flask.Request.path