Commit graph

352 commits

Author SHA1 Message Date
Julian K. Arni
0453cc3d2a Some tests for provided content-types. 2015-02-20 01:12:34 +01:00
Julian K. Arni
d299bd3397 Move Mime(Un)Render and remove types which don't have instances for them 2015-02-20 01:07:06 +01:00
Julian K. Arni
c1377e0a73 Add cabal sandbox to travis path 2015-02-19 23:02:29 +01:00
Julian K. Arni
fa0ef86c98 Enable coveralls 2015-02-19 20:48:52 +01:00
Julian K. Arni
b5f2032f77 Enable coveralls 2015-02-19 20:45:42 +01:00
Julian K. Arni
fb71eb8f01 Enable coveralls 2015-02-19 20:32:05 +01:00
Julian K. Arni
ebc266022c Small tweaks for servant-server 2015-02-19 19:18:08 +01:00
Julian K. Arni
5e4297a135 Review fixes 2015-02-19 13:46:11 +01:00
Julian K. Arni
578bda35d9 Use hackage docs. 2015-02-18 13:21:37 +01:00
Julian K. Arni
7f7ab2c804 Use hackage doc links.
Rather than our own stale ones.
2015-02-18 13:18:28 +01:00
Julian K. Arni
0658ab674f Update other-extensions. 2015-02-18 12:07:54 +01:00
Julian K. Arni
21667cc049 Remove unneeded module 2015-02-18 11:50:52 +01:00
Julian K. Arni
dab3c9b62d fix rebase issues 2015-02-18 10:40:55 +01:00
Julian K. Arni
a75c723226 Move more content-type logic from servant-server 2015-02-18 10:29:16 +01:00
Julian K. Arni
d7e1f1230e WIP 2015-02-18 10:29:16 +01:00
Julian K. Arni
a1e1de91a9 ReqBody content types.
And general cleanup.
2015-02-18 10:29:16 +01:00
Julian K. Arni
98e02ea7cf Move accept handling into servant-server. 2015-02-18 10:25:33 +01:00
Julian K. Arni
8930a45403 Add Content Types.
Still needs QQ.
2015-02-18 10:25:33 +01:00
Timo von Holtz
48030a6a1b Simple design for client with content-types 2015-02-17 17:17:10 +11:00
Timo von Holtz
6c99dfcb6c Cleanup 2015-02-17 13:50:50 +11:00
Timo von Holtz
a23204e134 Use renderHeader to render the Accept header 2015-02-17 12:23:03 +11:00
Timo von Holtz
098b503625 Don't send an Accept header if the list of accepted types is empty 2015-02-17 11:56:15 +11:00
Timo von Holtz
c444ec8374 Send the correct Accept header 2015-02-17 11:51:59 +11:00
Timo von Holtz
e6e67b275b Check for correct content-type in result. 2015-02-17 10:55:35 +11:00
Timo von Holtz
db2c5a42b2 Expose content type in response. 2015-02-17 10:32:15 +11:00
Timo von Holtz
7a1eac4e86 Correctly set the content type for ReqBody 2015-02-17 10:05:39 +11:00
Julian Arni
8ef4b5dbcc Merge pull request #9 from haskell-servant/jkarni/fix-travis
Use 'master' servant and servant-server for travis.
2015-02-15 08:46:06 +01:00
Julian K. Arni
a723a0f8d5 Use 'master' servant and servant-server for travis. 2015-02-15 08:37:52 +01:00
Julian Arni
4f0d0b5093 Merge pull request #24 from anchor/patch-method
Add PATCH method
2015-02-14 18:13:26 +01:00
Julian Arni
648dc2f2fb Merge pull request #11 from anchor/patch-method
Patch method
2015-02-15 00:59:19 +08:00
Timo von Holtz
9a3c268be4 Add PATCH method 2015-02-10 11:33:41 +11:00
Timo von Holtz
71011745c0 Actually include the Patch.hs 2015-02-10 11:28:16 +11:00
Timo von Holtz
59a20b2974 Add PATCH method 2015-02-10 11:18:13 +11:00
Alp Mestanogullari
a7749a04b7 Merge pull request #6 from zerobuzz/nothing-really
Whitespace.
2015-02-09 11:28:07 +00:00
Matthias Fischmann
3b48ca7d43 Cleanup. 2015-02-06 09:34:59 +01:00
Christian Marie
0edb828c1d Fix tests -- Capture cannot be empty 2015-02-02 13:35:10 +11:00
Christian Marie
cdbe95bcdf Merge branch 'tvh-support-tls' 2015-02-02 12:39:55 +11:00
Christian Marie
6797a58f65 Merge branch 'tvh-delete-empty-body' 2015-02-02 12:37:04 +11:00
Timo von Holtz
e5db50917b Add test for 'Delete' 2015-02-02 09:33:05 +11:00
Christian Marie
b27e256b41 Merge pull request #10 from anchor/wip-new-safe-links
New safe link API
2015-01-31 10:14:59 +11:00
Timo von Holtz
56e68bc737 Don't try to parse the empty response body for Delete 2015-01-30 17:05:01 +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
Christian Marie
d03788ee21 Flip safeLink and rename link to toLink 2015-01-30 11:03:48 +11:00
Christian Marie
12cf4e02ab Remove un-needed dependencies. 2015-01-29 17:55:57 +11:00
Christian Marie
36268030b5 Correct typo in Util.Links documentation 2015-01-29 17:45:47 +11:00
Christian Marie
3a4471f211 Remove Monoid instance of Link and simplify Utils.Links documentation 2015-01-29 15:03:33 +11:00
Christian Marie
c1ab495a7a Utils.Link documentation cleanup 2015-01-29 11:28:01 +11:00
Christian Marie
2a91686195 Tweak .travis.yml 2015-01-29 11:18:16 +11:00
Christian Marie
12d0d0a6e7 Documentation improvements and minor cleanup 2015-01-29 10:39:02 +11:00