Commit graph

67 commits

Author SHA1 Message Date
Timo von Holtz
71011745c0 Actually include the Patch.hs 2015-02-10 11:28:16 +11:00
Daniel Larsson
839f5a79a9 Added support for matrix parameters 2015-01-15 10:38:59 +01:00
Matthias Fischmann
40b13a9c86 Explicit imports in /src. 2015-01-06 17:54:53 +01:00
Matthias Fischmann
9b10181d9a Remove unused imports. 2015-01-06 17:51:07 +01:00
Sean Leather
4a89f5d6c7 Fix typo 2014-12-12 21:04:03 +02:00
Alp Mestanogullari
9aeb295955 make ReqBody kind polymorphic (for a test) 2014-12-10 16:31:40 +01:00
Alp Mestanogullari
6836eb6bcc add split server-side bits into servant-server 2014-12-10 16:31:40 +01:00
Alp Mestanogullari
501dafaeba add Servant.API.Header 2014-12-08 12:28:11 +01:00
Alp Mestanogullari
67abcff47f first shot at splitting servant into servant, servant-client and servant-docs 2014-11-27 18:28:01 +01:00
Alp Mestanogullari
60c7addb5e more haddocks 2014-11-22 19:19:21 +01:00
Alp Mestanogullari
77d52083f1 haddocks for all 3 forms of query params (phew) 2014-11-22 18:53:02 +01:00
Alp Mestanogullari
c47f4ae002 haddocks for ReqBody 2014-11-22 18:16:55 +01:00
Alp Mestanogullari
e9f2de1162 add an example for Raw using serveDirectory 2014-11-22 18:06:59 +01:00
Alp Mestanogullari
1f3ec7ceaa haddocks for Raw 2014-11-22 18:04:19 +01:00
Alp Mestanogullari
92ddcf4380 haddocks for :> 2014-11-22 17:56:45 +01:00
Alp Mestanogullari
15adc964e4 add examples for Put and Post 2014-11-22 17:56:35 +01:00
Alp Mestanogullari
44974baf79 haddocks for Put 2014-11-22 17:47:34 +01:00
Alp Mestanogullari
95d34587a3 haddocks for Post 2014-11-22 17:45:59 +01:00
Alp Mestanogullari
1dd253d2a0 haddocks for Get 2014-11-22 17:41:35 +01:00
Alp Mestanogullari
54ba4596f6 haddocks tweak 2014-11-22 17:29:52 +01:00
Alp Mestanogullari
c0b7c65de2 haddocks tweak 2014-11-22 17:29:22 +01:00
Alp Mestanogullari
e7a0d70780 Haddocks for Delete 2014-11-22 17:27:41 +01:00
Alp Mestanogullari
c945915f1d fix haddocks 2014-11-22 15:58:52 +01:00
Alp Mestanogullari
e9ebb0f10b More haddocks for Capture 2014-11-22 15:55:50 +01:00
Alp Mestanogullari
407349c245 More haddocks for :<|> 2014-11-22 15:08:25 +01:00
Alp Mestanogullari
d461726b9a -Wall police 2014-11-22 14:35:03 +01:00
Sönke Hahn
286b1db836 Client Raw: returns Right (status, body) even for failure statuses 2014-11-13 20:36:36 +08:00
Sönke Hahn
eff31f7485 implemented 'instance HasClient Raw' 2014-11-13 19:57:53 +08: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
Sönke Hahn
165022a554 module refactoring: putting some things in Servant.Common 2014-11-07 19:12:27 +08:00
Sönke Hahn
1cd35034e9 module renaming: S.API.Elem -> S.Utils.Links 2014-11-07 16:59:36 +08:00
Sönke Hahn
af00035b99 module renaming: S.API.QQ -> S.Utils.ApiQuasiQuoting 2014-11-07 16:55:17 +08:00
Sönke Hahn
2f9fb2b713 removed S.Utils.Client (and put the code into S.Client.Req) 2014-11-07 15:23:50 +08:00
Sönke Hahn
bec10dd16a put Req in Servant.Utils.Req 2014-11-07 12:41:00 +08:00
Sönke Hahn
8e72c70767 moved S.Client.BaseUrl to S.Utils.BaseUrl 2014-11-07 11:58:41 +08:00
Sönke Hahn
93195abed6 put BaseUrl in it's own module 2014-11-07 11:09:54 +08:00
Sönke Hahn
f0bca3852c implement BaseUrl to allow https for Clients 2014-11-05 20:03:57 +08:00
Julian K. Arni
11f82633da Type safe links. 2014-11-04 12:24:52 +01:00
Sönke Hahn
c2be4f3377 client tests: QueryParams 2014-10-31 20:18:31 +08:00
Alp Mestanogullari
0802221789 make QueryFlag more permissive 2014-10-31 13:01:12 +01:00
Sönke Hahn
a9eeff14bd client: correctly handle exceptions on error status codes 2014-10-31 18:01:00 +08:00
Sönke Hahn
f058a3051a HasClient: changing URI to URIAuth (and adding the first client test
case)
2014-10-31 18:01:00 +08:00
Alp Mestanogullari
df12f9b9bd add doc generation support for QueryParams and QueryFlag 2014-10-30 12:34:16 +01:00
Alp Mestanogullari
bab2bc7edf server and client support for QueryParams (list of values in query string) and QueryFlag (value-less query string argument) 2014-10-30 12:34:16 +01:00
Sönke Hahn
08e2a6a895 renamed Union -> Alternative 2014-10-30 18:37:58 +08:00
Julian K. Arni
99e790492a QQ more tests and cleanup. 2014-10-29 14:54:13 +01:00
Julian K. Arni
c6264dd202 Add queryParam.
And update names.
2014-10-29 13:10:04 +01:00
Julian K. Arni
1f6c3c4009 Add new request -> response syntax 2014-10-29 12:16:02 +01:00
Julian K. Arni
21c8fcbea2 Flip fixity of TH sub.
And do some general cleanup.
2014-10-29 12:16:02 +01:00