From a650b973784b3533e691507b700f1f06d467adad Mon Sep 17 00:00:00 2001 From: Alp Mestanogullari Date: Tue, 21 Oct 2014 15:46:20 +0200 Subject: [PATCH] extend the note about a potentially buggy behavior --- src/Servant.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Servant.hs b/src/Servant.hs index 277258e8..ffd31f83 100644 --- a/src/Servant.hs +++ b/src/Servant.hs @@ -76,4 +76,8 @@ runTest port = run port test -- however... -- visit http://localhost:8000/hello/world/foo -- -> this will just match "world" but won't complain about the additional "/foo" --- do we want that? \ No newline at end of file +-- +-- do we want that? +-- +-- maybe we want to check that the pathInfo list is empty when we reach Get +-- (and Post etc when the time comes :-) ) \ No newline at end of file