Commit graph

582 commits

Author SHA1 Message Date
Julian K. Arni
5470297bdc Remove QQ for now 2015-02-20 15:08:13 +01:00
Julian K. Arni
99374c5868 Only 'text' type should have charset parameter 2015-02-20 15:05:24 +01:00
Julian K. Arni
784660c8ad Check whether travis build is PR for coveralls.
To prevent double messages and double builds.
2015-02-20 12:41:33 +01:00
Julian K. Arni
08528dccfa More content type tests 2015-02-20 12:26:53 +01:00
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
2da16c751a Enable coveralls 2015-02-19 22:35:09 +01:00
Thomas Sutton
02c4adfd18 Simplify SupportedTypes instances 2015-02-20 08:05:37 +11:00
Thomas Sutton
8087fae18b amr renamed allMimeRender 2015-02-20 08:03:11 +11: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
Thomas Sutton
0daa8d27a5 Add list of supported content types to documentation 2015-02-19 15:29:04 +11:00
Thomas Sutton
921547da60 Example now depends on string-conversions 2015-02-19 13:23:13 +11:00
Thomas Sutton
f303f6176a Simplify encoding code slightly more 2015-02-19 13:19:29 +11:00
Thomas Sutton
d62c61224b Simplify encoding code slightly 2015-02-19 13:15:33 +11:00
Thomas Sutton
3451dcf186 Use string conversions in example 2015-02-19 13:03:38 +11:00
Thomas Sutton
508b9f9791 Generate docs with samples encoded in all types
Request and response body documentation now includes sample values
encoded in all supported media types.
2015-02-19 12:55:11 +11:00
Thomas Sutton
dba8689acd Remove redundant dependencies 2015-02-19 12:53:14 +11:00
Thomas Sutton
6d85885b42 Add content types to the example 2015-02-19 12:48:23 +11:00
Timo von Holtz
5578488538 Code changes to support Jkarni/content types.
These are just straight forward changes to compile against servant.
2015-02-19 11:45:15 +11:00
Thomas Sutton
3c14343b88 Add content-type params to type constructors 2015-02-19 10:59:24 +11: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
Christian Marie
b935f28185 Improve documentation.
I also slipped a change into the Matrix Paramters section markdown generation,
there is one less (superfluous) newline there now.
2015-02-18 12:49:08 +11: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