If you don't mind, could you show me an example of how you would want to use this? For what I'm currently writing I envision something like:
LiftRules.statelessRewrite.append { ... }
MockWeb.withUrl("
http://foo.com/bar") { request =>
// do testing on the rewritten request
...
}
But I'm open to use case suggestions.
Derek
I was having some problems with url rewriting so I started looking for a way to test that specific piece.
Having been unable to find anything I created the attached patch so that it's possible to unit test application rewrites.