!htp #18479 defer parsing of query key-value-pairs

This commit is contained in:
2beaucoup 2015-10-13 08:30:06 +02:00
parent 1378fedad0
commit 8f75c97e47
25 changed files with 398 additions and 275 deletions

View file

@ -199,7 +199,7 @@ class BasicDirectivesExamplesSpec extends RoutingSpec {
"textract" in {
val pathAndQuery = textract { ctx =>
val uri = ctx.request.uri
(uri.path, uri.query)
(uri.path, uri.query())
}
val route =
pathAndQuery { (p, query) =>