From 3050d6dcbf34609bc4cd27523a7abaa284d6c181 Mon Sep 17 00:00:00 2001 From: Alp Mestanogullari Date: Tue, 21 Oct 2014 15:38:26 +0200 Subject: [PATCH] add a note about a potential buggy behavior --- src/Servant.hs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Servant.hs b/src/Servant.hs index 242bd932..277258e8 100644 --- a/src/Servant.hs +++ b/src/Servant.hs @@ -69,7 +69,11 @@ runTest :: Port -> IO () runTest port = run port test -- load in ghci, call 'runTest 8000' --- visit http://localhost/hello/world --- visit http://localhost/hello/soenke --- visit http://localhost/hello/alp +-- visit http://localhost:8000/hello/world +-- visit http://localhost:8000/hello/soenke +-- visit http://localhost:8000/hello/alp +-- 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