git.iko.soy/typeable/servant
on master help sign in
add a note about a potential buggy behavior
commit3050d6dcbf34609bc4cd27523a7abaa284d6c181 authorAlp Mestanogullari <alpmestan@gmail.com> dateTue 21 Oct 2014, 15:38 (12 years ago) parentc35a510
1 file changed+8−4
src/Servant.hs+8−4
src/Servant.hs+8−4
@@ -69,7 +69,11 @@ runTest :: Port -> IO ()
6969runTest port = run port test
7070
7171-- load in ghci, call 'runTest 8000'
72−-- visit http://localhost/hello/world
73−-- visit http://localhost/hello/soenke
74−-- visit http://localhost/hello/alp
75−
72+-- visit http://localhost:8000/hello/world
73+-- visit http://localhost:8000/hello/soenke
74+-- visit http://localhost:8000/hello/alp
75+
76+-- however...
77+-- visit http://localhost:8000/hello/world/foo
78+-- -> this will just match "world" but won't complain about the additional "/foo"
79+-- do we want that?