Commit graph

62 commits

Author SHA1 Message Date
Alp Mestanogullari
fc30c7e242 Merge branch 'master' into canonical-types
Conflicts:
	CHANGELOG.md
	src/Servant/Server/Internal.hs
2015-04-19 10:59:14 +02:00
Alp Mestanogullari
c1ed47b35f add changelog entry 2015-03-11 14:34:33 +01:00
Alp Mestanogullari
837099d12d Canonicalize the API type to make sure that the following 'law' holds: Server (a :> (b :<|> c)) ~ Server (a :> b) :<|> Server (a :> c) 2015-03-11 14:34:33 +01:00
Julian K. Arni
bd9d476679 CHANGELOG update for PR #21. 2015-03-11 14:33:51 +01:00
Roland Schatz
f76c729a08 Introduce ServerT to specify generic handlers. 2015-03-11 14:33:51 +01:00
Julian K. Arni
bd98844357 CHANGELOG update for PR #21. 2015-03-10 23:07:24 +01:00
Julian Arni
1b61455d2b Merge pull request #21 from rschatz/master
Support other monads than just IO.
2015-03-10 18:51:11 +01:00
Alp Mestanogullari
8428e4bd7b fix dumb error 2015-03-09 19:59:25 +01:00
Alp Mestanogullari
5f7795f70f remove canonicalize, it's now in servant 2015-03-09 19:23:53 +01:00
Alp Mestanogullari
9a33fa7812 Canonicalize the API type to make sure that the following 'law' holds: Server (a :> (b :<|> c)) ~ Server (a :> b) :<|> Server (a :> c) 2015-03-09 15:16:38 +01:00
Alp Mestanogullari
947815e6d3 Merge pull request #31 from haskell-servant/wip-incorrect-error
Change JSON-specific error message to a more general one
2015-03-05 18:56:16 +01:00
Christian Marie
0be89b4f3d Change JSON-specific error message to a more general one 2015-03-05 12:11:20 +11:00
Alp Mestanogullari
b24822a448 tentative changelog 2015-03-04 01:53:40 +01:00
Roland Schatz
f7af3b14d2 Introduce ServerT to specify generic handlers. 2015-03-02 22:23:56 +01:00
Julian Arni
5f6c981d80 Merge pull request #29 from zerobuzz/export-toApplication-fun
Export `toApplication` from Server.
2015-02-27 15:41:52 +01:00
Matthias Fischmann
27e842365f Remove overly specific comment. 2015-02-27 15:27:35 +01:00
Matthias Fischmann
1a63d8797a Export toApplication from Server. 2015-02-27 14:54:53 +01:00
Julian Arni
cae0b6e252 Merge pull request #13 from haskell-servant/jkarni/content-types
Jkarni/content types
2015-02-24 15:01:46 +01:00
Julian K. Arni
b96a2d214d Pay down some coverage debt 2015-02-24 14:48:17 +01:00
Julian K. Arni
81c3589624 Review fix 2015-02-24 14:08:27 +01:00
Julian K. Arni
0789682cf8 Remove ContentTypes.hs 2015-02-24 14:08:27 +01:00
Julian K. Arni
e9f3341b9e Move more Content-type logic back to servant. 2015-02-24 14:08:27 +01:00
Julian K. Arni
2092ddc201 Charset test fixes. 2015-02-24 14:08:27 +01:00
Julian K. Arni
8028cceee7 ReqBody content types. 2015-02-24 14:08:27 +01:00
Julian K. Arni
380acb3efa Add Accept header handling. 2015-02-24 14:07:00 +01:00
Julian K. Arni
c1377e0a73 Add cabal sandbox to travis path 2015-02-19 23:02:29 +01:00
Julian K. Arni
b5f2032f77 Enable coveralls 2015-02-19 20:45:42 +01:00
Julian K. Arni
578bda35d9 Use hackage docs. 2015-02-18 13:21:37 +01:00
Julian Arni
4f0d0b5093 Merge pull request #24 from anchor/patch-method
Add PATCH method
2015-02-14 18:13:26 +01:00
Timo von Holtz
9a3c268be4 Add PATCH method 2015-02-10 11:33:41 +11:00
Julian Arni
b6a6505ecf Merge pull request #22 from anchor/arbitrary-routemismatch
Add RouteMismatch constructor for arbitrary HTTP response code
2015-01-30 05:50:30 +01:00
Thomas Sutton
6b55bf583d Add RouteMismatch constructor for arbitrary HTTP response code 2015-01-30 11:36:01 +11:00
Julian Arni
0bb35b8571 Merge pull request #20 from paf31/errors
Return JSON error messages in response
2015-01-21 10:00:22 +08:00
Phil Freeman
56791952b8 Return JSON error messages in response 2015-01-19 19:12:08 -08:00
Julian Arni
f04bd3e24b Merge pull request #18 from haskell-servant/jkarni/fix-travis
Make travis clone master servant.
2015-01-16 11:01:31 +01:00
Julian K. Arni
7736339328 Make travis clone master servant. 2015-01-16 10:53:37 +01:00
Sönke Hahn
350e05e035 Merge pull request #17 from haskell-servant/fix_1
cabal: added lower bound for wai-app-static
2015-01-16 13:03:57 +08:00
Sönke Hahn
1148e21377 cabal: added lower bound for wai-app-static
Fixes #1.
2015-01-16 12:52:11 +08:00
Julian Arni
420fc2a842 Merge pull request #16 from dlarsson/matrix
Added support for matrix parameters.
2015-01-15 12:27:35 +01:00
Daniel Larsson
294eb3b76f Added changelog text 2015-01-15 12:14:11 +01:00
Daniel Larsson
b18f27df7a Added support for Matrix parameters 2015-01-15 12:10:21 +01:00
Alp Mestanogullari
9ef336b50f Merge pull request #7 from zerobuzz/2015-01-06-explicit-import-lists
Explicit import lists
2015-01-06 17:44:12 +01:00
Matthias Fischmann
ca817f0c9d Explicit imports in /test. 2015-01-06 17:34:03 +01:00
Matthias Fischmann
663fbaaabb Make -Wall less noisy. 2015-01-06 17:31:13 +01:00
Matthias Fischmann
2f9c6340c4 Explicit imports in /src. 2015-01-06 17:25:25 +01:00
Julian Arni
6835f0559a Merge pull request #6 from zerobuzz/mf59816/ignore-tailing-slashes
Ignore redundant trailing slashes (with test case).
2015-01-06 09:57:16 +01:00
Matthias Fischmann
9b8d25c838 Ignore redundant trailing slashes (with test case). 2015-01-05 14:27:06 +01:00
Julian K. Arni
0cc4f975cc Bump version to 0.2.3 2015-01-04 16:26:33 +01:00
Julian K. Arni
1ec9d0a497 Add CHANGELOG. 2015-01-04 16:21:25 +01:00
Julian Arni
3ac502c803 Merge pull request #3 from haskell-servant/jkarni/servant-issue-2
Memoize requestBody IO action.
2015-01-04 16:12:49 +01:00