Julian K. Arni
29a54fe290
Merge remote-tracking branch 'servant-server/prepare-merge' into merge
2015-04-20 11:23:33 +02:00
Julian K. Arni
90ad8248d7
prepare merge
2015-04-20 11:21:21 +02:00
Julian K. Arni
ed502f5f21
Prepare merge
2015-04-20 11:13:18 +02:00
Alp Mestanogullari
01a020d432
Merge pull request #32 from haskell-servant/canonical-types
...
Canonicalize types
2015-04-19 13:23:51 +03:00
Alp Mestanogullari
bf637865cd
fix inconsistencies from rebase
2015-04-19 12:06:31 +02:00
Alp Mestanogullari
f71c7a813a
Merge branch 'master' into canonical-types
...
Conflicts:
CHANGELOG.md
src/Servant/Server/Internal.hs
2015-04-19 11:17:11 +02:00
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
Julian Arni
f6f120ded9
Merge pull request #41 from haskell-servant/jkarni/response-headers
...
Add server support for response headers
2015-04-16 20:53:13 +02:00
Julian K. Arni
2ec477159f
Add server support for response headers
2015-04-15 18:35:25 +02:00
Julian Arni
68a129dcd3
Merge pull request #28 from haskell-servant/jkarni/response-headers
...
Add response headers.
2015-04-14 15:53:32 +02:00
Julian K. Arni
1a2a0d027a
Add response headers.
2015-04-14 12:00:57 +02:00
Julian Arni
1eaed73794
Merge pull request #38 from haskell-servant/jkarni/fix-406
...
Don't succeedWith when response content-type is unacceptable.
2015-04-07 16:40:19 +02:00
Julian K. Arni
fed014e120
Pay back some test-debt
2015-04-07 16:25:23 +02:00
Julian K. Arni
622c77251e
Don't succeedWith when response content-type is unacceptable.
2015-04-06 16:12:28 +02:00
Julian K. Arni
2931d2e119
Make full-precision FromText for Float and Double
2015-03-24 14:53:39 +01:00
Christian Marie
24e32f194e
Correct accuracy for Double tests
2015-03-18 09:14:58 +11:00
Julian Arni
e45beddd35
Merge pull request #26 from haskell-servant/wip-allow-bodies-for-links
...
Fix a HasLink instance, also fix float text handling/tests.
2015-03-17 09:48:53 +01:00
Christian Marie
7d91e50fc7
Correct ReqBody instance for link generation. Was partially applied
2015-03-17 12:10:24 +11:00
Christian Marie
47a30c6411
Make fromText of Float more accurate, relax accuracy for Float and Double tests
2015-03-17 12:08:47 +11:00
Julian Arni
25d1e466e9
Merge pull request #33 from haskell-servant/jkarni/no-content
...
Make Post and Put return NoContent when response is ()
2015-03-13 10:14:44 +01:00
Julian K. Arni
b35512c3d4
Update changelog
2015-03-12 18:37:08 +01:00
Julian K. Arni
5eddb318a2
Make Post and Put return NoContent when response is ()
2015-03-12 18:29:57 +01: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
Alp Mestanogullari
3311cbd901
Merge pull request #23 from haskell-servant/canonical-types
...
Add the `Canonicalize` type family to reduce API types to their canonical forms before proceeding in the other packages
2015-03-11 12:17:10 +01:00
Alp Mestanogullari
7a83952bad
some more documentation, code cleanup + changelog entry
2015-03-11 11:46:35 +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
6909b54367
add a clause to Canonicalize for (a :<|> b) :> c with the obvious definition
2015-03-10 12:08:17 +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
6af9b9e70f
add 'canonicalize' to canonicalize the api type under a Proxy
2015-03-09 19:23:26 +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
73914586b1
add the Canonicalize type family which turns an API type into its canonical form
2015-03-09 13:39:40 +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
Alp Mestanogullari
13dcf081a7
tentative CHANGELOG
2015-03-04 01:47:47 +01:00
Christian Marie
cf1a7aeb9c
Merge pull request #21 from anchor/expose-form-urlencoded
...
Expose FormUrlEncoded through Servant.API
2015-03-04 09:17:58 +11:00
Timo von Holtz
07cd4f65d6
Expose FormUrlEncoded through Servant.API
2015-03-04 09:04:21 +11:00
Roland Schatz
f7af3b14d2
Introduce ServerT
to specify generic handlers.
2015-03-02 22:23:56 +01:00
Julian Arni
4602225f60
Merge pull request #19 from haskell-servant/jkarni/integrate-doctests
...
Cleanup, including:
2015-03-02 15:27:14 +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 K. Arni
635902e592
Cleanup, including:
...
- Integrated doctests into cabal
- Doctest more of the documentation
- Remove the (:>) constructor
- Give kind signatures to Symbols
- Make all constructors typeable
- Use stylish-haskell for consistency of styling
- Cleanup documentation
- Remove old TODO.md
2015-02-25 23:10:29 +01:00
Julian Arni
8cac6c6bb3
Merge pull request #18 from haskell-servant/jkarni/decodeLenient
...
Use lenient decoding for JSON.
2015-02-25 13:09:07 +01:00
Julian K. Arni
1a200f1c48
Use lenient decoding for JSON.
2015-02-25 12:48:15 +01:00