Julian K. Arni
1eedad4073
Merge remote-tracking branch 'servant-client/prepare-merge' into merge
2015-04-20 11:23:45 +02:00
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
45f35852f8
prepare merge
2015-04-20 11:15:58 +02:00
Julian K. Arni
ed502f5f21
Prepare merge
2015-04-20 11:13:18 +02:00
Alp Mestanogullari
0173087166
Merge pull request #25 from haskell-servant/canonical-types-rebased
...
Canonical types rebased
2015-04-20 09:37:40 +03:00
Julian K. Arni
d7fcf2b19b
Fix missing canonicalize changes
2015-04-19 18:31:23 +02:00
Alp Mestanogullari
eae2f5f282
add a changelog entry for canonicalize
2015-04-19 18:08:40 +02:00
Alp Mestanogullari
34f1715666
canonicalize api type before generating client functions, to flatten out all the client functions, distributing arguments properly: Client (a :> (b :<|> c)) = Client (a :> b) :<|> Client (a :> c)
2015-04-19 18:08:26 +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 Arni
14f63520d0
Merge pull request #23 from haskell-servant/jkarni/patch-etc
...
Add patch method, and make () response expect no content
2015-03-26 19:17:19 +01:00
Julian K. Arni
3802ef5447
Add patch method, and make () response expect no content
2015-03-26 14:34:38 +01:00
Alp Mestanogullari
9a4cfd64c5
changelog entry for Raw-client-returning-whole-response commit
2015-03-26 12:56:54 +01:00
Alp Mestanogullari
989849c8a1
Merge pull request #17 from haskell-servant/raw-fullresponse
...
Return complete `Response` in client for Raw endpoint
2015-03-26 12:55:07 +01:00
Julian Arni
ac733be7f2
Merge pull request #22 from Fuuzetsu/accepted-codes
...
Accept wider range of return codes
2015-03-25 18:50:08 +01:00
Julian Arni
685eec0773
Merge pull request #21 from Fuuzetsu/ghci-file
...
Add .ghci file
2015-03-25 17:10:48 +01:00
Mateusz Kowalczyk
d21f0bbbfc
Accept wider range of return codes
...
DELETE
201 doesn't make sense
I think we can get away with just 204 without 205 and 206
GET
206 should be handled by the lib itself (?) so we only add 203
Closes #20
2015-03-25 15:39:55 +00:00
Mateusz Kowalczyk
b0056294cc
Add .ghci file
2015-03-25 15:36:08 +00: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
Timo von Holtz
ecb8627433
Return complete response in Raw endpoint
2015-03-16 11:12:11 +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