Commit Graph

21 Commits

Author SHA1 Message Date
Jonathan Lange
0d8a5b5aff servant-mock support for CaptureAll 2016-07-11 14:46:31 +01:00
Arian van Putten
05379ed7e3 Replace all occurances of () with NoContent
We use NoContent to signify an empty response nowadays. This commit
replaces all occurences of () with NoContent so that all packages use
the new semantics.
2016-07-10 16:58:59 +02:00
Luke Cycon
21546991af Introduce a Handler alias for ExceptT ServantErr IO
Fixes #434
2016-04-11 22:27:29 -07:00
Jonathan
aa71099ffd Update Mock.hs 2016-04-11 08:54:38 -05:00
Jonathan
23fb5e1f56 Fix code example in haddock of servant-mock
The example in the haddock does not coincide with the example code in servant-mock/example/main.hs
2016-04-10 11:03:48 -05:00
Sönke Hahn
8ef4d4543b renaming: Config -> Context 2016-03-07 23:12:24 +08:00
Julian K. Arni
f137972e5d Add 'serveWithConfig'.
And keep the old signature for 'serve'
2016-02-18 16:36:24 +01:00
Sönke Hahn
df09f8616e config: remove HasConfig and make HasServer take config as a parameter 2016-01-21 17:58:50 +01:00
Sönke Hahn
2176fecfda config: added instances for all interpretations 2016-01-21 17:55:02 +01:00
Sönke Hahn
14aac5fc9f servant-mock: support for response headers 2016-01-18 19:53:19 +01:00
Julian K. Arni
5a7fe76629 Add polykinds to servant-mock 2016-01-13 17:32:57 +01:00
Julian K. Arni
bd77b4acba Verb for -mock, -js and -foreign. 2016-01-07 13:47:08 +01:00
Julian K. Arni
ec55f4b981 Remove Matrix params.
For servant-docs, -foreign, -js, and -mock.
2015-10-13 21:37:07 +02:00
Nickolay Kudasov
40d2c68897 Use http-api-data package instead of ToText/FromText 2015-10-08 00:38:47 +03:00
Julian K. Arni
965063171b Janitoring 2015-09-23 20:18:52 +02:00
Index Int
f2f7b061d2 Drop EitherT in favor of ExceptT 2015-09-12 15:11:24 +03:00
Julian K. Arni
98b6e85128 Contributing 2015-08-17 23:50:42 +02:00
Alp Mestanogullari
fe0e526aa1 haddocks for Servant.Mock 2015-07-23 13:00:37 +02:00
Alp Mestanogullari
d6a7f5c856 actually fix the build on 7.8, hopefully 2015-07-22 22:08:56 +02:00
Alp Mestanogullari
248033ad81 fix build on 7.8 2015-07-22 22:06:46 +02:00
Alp Mestanogullari
87c3bd590e first shot at Servant.Mock 2015-07-22 21:22:42 +02:00