Commit graph

19 commits

Author SHA1 Message Date
Alp Mestanogullari
67abcff47f first shot at splitting servant into servant, servant-client and servant-docs 2014-11-27 18:28:01 +01:00
Sönke Hahn
8d92d66e00 refactored Servant.Docs.ToSample 2014-11-13 19:55:03 +08:00
Sönke Hahn
82ff0a6ad7 added Servant.Utils.StaticFiles.serveDocumentation 2014-11-13 14:54:10 +08:00
Alp Mestanogullari
0802221789 make QueryFlag more permissive 2014-10-31 13:01:12 +01:00
Alp Mestanogullari
e774af7707 add tests for QueryParams and QueryFlag 2014-10-30 12:34:16 +01:00
Sönke Hahn
08e2a6a895 renamed Union -> Alternative 2014-10-30 18:37:58 +08:00
Alp Mestanogullari
90ea56534b add a testcase to very that we reject invalid json bodies with HTTP status 400 2014-10-28 16:58:46 +01:00
Alp Mestanogullari
812922d9b6 rename JsonBody to ReqBody in tests too -- this closes #11 for now 2014-10-28 16:32:32 +01:00
Alp Mestanogullari
9b375b137f rename RQBody to JsonBody everywhere 2014-10-28 15:29:07 +01:00
Alp Mestanogullari
fc67c3b7aa rename GetParam to QueryParam everywhere 2014-10-28 15:06:47 +01:00
Alp Mestanogullari
641ee69eba improve the routing mechanism by augmenting the routing error type with some information and a sound monoid instance. this addresses #10 2014-10-28 14:34:28 +01:00
Sönke Hahn
d9eaf769d1 test suite: Capture strips path snippets 2014-10-28 17:52:47 +08:00
Sönke Hahn
c98c7db0df Routing strips path snippets (and Raw receives modified Requests) 2014-10-28 17:42:49 +08:00
Sönke Hahn
c08ca320a9 test suite: Capture 2014-10-28 14:00:01 +08:00
Sönke Hahn
b749f7fbc6 added Servant.API.Raw (only with HasServer) 2014-10-28 13:42:37 +08:00
Sönke Hahn
207f398572 test suite: GetParam 2014-10-28 13:15:29 +08:00
Sönke Hahn
c393afa08e test suite: Union (:<|>) 2014-10-27 17:10:43 +08:00
Sönke Hahn
d0782db08b test suite: Post 2014-10-27 15:40:29 +08:00
Sönke Hahn
13664a218c test suite: added initial test suite 2014-10-27 07:24:23 +01:00