Commit graph

609 commits

Author SHA1 Message Date
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
Alp Mestanogullari
72b2fac95d Merge pull request #15 from zerobuzz/canonical-order
Render entpoints in canonical order.
2015-02-24 11:15:28 +00:00
Matthias Fischmann
68fee749c4 Remove dead code. 2015-02-24 11:01:34 +01:00
Julian K. Arni
b00596a530 Bump upper bound for http-media 2015-02-24 10:29:00 +01:00
Matthias Fischmann
f11d5207e4 Dropped orphan instance for MediaType (now available upstream). 2015-02-24 08:54:14 +01:00
Matthias Fischmann
1fef813a3b Render entpoints in canonical order. 2015-02-23 11:33:44 +01:00
Julian Arni
465e006e6e Merge pull request #13 from anchor/form-urlencoded
Add support for application/x-www-form-urlencoded
2015-02-23 09:52:32 +01:00
Timo von Holtz
4f91a28d57 Add test for FormUrlEncoded using Network.URL 2015-02-23 16:54:10 +11:00
Christian Marie
795a770780 Merge pull request #11 from haskell-servant/wip-note-api
General extra info API
2015-02-23 10:55:43 +11:00
Christian Marie
055655618f Merge remote-tracking branch 'origin/master' into wip-note-api 2015-02-23 10:47:28 +11:00
Christian Marie
53d3f6db80 Rename safeInfo to extraInfo 2015-02-23 09:56:23 +11:00
Christian Marie
5df017267e Merge pull request #12 from anchor/jkarni/content-types
Extend servant-docs to support content types
2015-02-23 09:52:55 +11:00
Thomas Sutton
fc5802fe7f Show, rather than convert, media types 2015-02-23 09:38:19 +11:00
Thomas Sutton
97ff49c3c4 Replace HTML with PlainText in examples 2015-02-22 19:42:38 +11:00
Thomas Sutton
bdf61e4df9 Sample program more sensible and update README 2015-02-22 17:18:07 +11:00
Julian K. Arni
d824e7ed3c Run coveralls for master too 2015-02-21 17:41:30 +01:00
Timo von Holtz
1d378e644c Add support for application/x-www-form-urlencoded 2015-02-21 07:52:38 +11:00
Julian Arni
a2f95f04c4 Merge pull request #16 from haskell-servant/jkarni/CommonTextTests
Fix Integer FromText instance.
2015-02-20 17:27:51 +01:00
Julian K. Arni
5be2430b11 Fix Integer FromText instance.
And add FromText/ToText tests.
2015-02-20 17:05:59 +01:00
Julian Arni
5f1e8c3607 Merge pull request #9 from haskell-servant/jkarni/content-types
Jkarni/content types
2015-02-20 15:37:38 +01:00
Julian K. Arni
b02b67b4b7 handleCTypeH success test 2015-02-20 15:22:26 +01:00
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