git.iko.soy/typeable/servant
on master help sign in
add a note about a potential buggy behavior
3050d6dAlp Mestanogullari
src/Servant.hs+8−4
@@ -69,7 +69,11 @@ runTest :: Port -> IO ()
69runTest port = run port test
69runTest port = run port test
70
70
71-- load in ghci, call 'runTest 8000'
71-- load in ghci, call 'runTest 8000'
72−-- visit http://localhost/hello/world
72+-- visit http://localhost:8000/hello/world
73−-- visit http://localhost/hello/soenke
73+-- visit http://localhost:8000/hello/soenke
74−-- visit http://localhost/hello/alp
74+-- visit http://localhost:8000/hello/alp
75−
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?