No description
Find a file
(cdep)illabout 2b737e4c1c Accept multiple content-types in client.
When defining a route like the following,

```
type API = Get '[JSON, PlainText] Int
```

servant-client is only able to receive responses with the content type
that comes first in the list.  In this example, it will only be able to
receive `application/json` responses.

This PR changes it so that servant-client will accept _any_ content-type
in the list.

In the example above, it will accept responses with a content type of
`application/json` or `text/plain`.
2016-07-31 13:38:50 +09:00
doc doc: add a tip about how to serve on / 2016-07-15 19:31:16 +02:00
scripts added test script for stack files (and fixed stack for ghc-7.8) 2016-05-29 00:03:46 +08:00
servant Add CaptureAll to ComprehensiveAPI 2016-07-11 14:47:05 +01:00
servant-client Accept multiple content-types in client. 2016-07-31 13:38:50 +09:00
servant-docs Add dummy docs instancE 2016-07-11 14:47:05 +01:00
servant-foreign servant-foreign support for CaptureAll 2016-07-11 14:47:05 +01:00
servant-js bump version 2016-07-10 17:21:36 +02:00
servant-mock servant-mock support for CaptureAll 2016-07-11 14:46:31 +01:00
servant-server servant-server support for CaptureAll 2016-07-11 14:46:31 +01:00
.gitignore tutorial: update .gitignore 2016-03-19 17:40:00 +08:00
.stylish-haskell.yaml Contributing 2015-08-17 23:50:42 +02:00
.travis.yml Add ghc-8.0.1 to travis matrix 2016-05-10 19:09:59 +03:00
CONTRIBUTING.md Merge pull request #330 from haskell-servant/jkarni/at-maintainers 2016-01-16 17:59:22 +01:00
HLint.hs Contributing 2015-08-17 23:50:42 +02:00
README.md set the homepage to readthedocs 2016-04-22 14:12:21 +08:00
servant.png Update READMEs 2015-04-20 15:48:37 +02:00
sources.txt Remove servant-blaze and servant-lucid 2016-05-13 14:38:00 +03:00
stack-ghc-7.8.4.yaml added test script for stack files (and fixed stack for ghc-7.8) 2016-05-29 00:03:46 +08:00
stack-ghc-8.0.1.yaml Use nightly-2016-05-27 for in stack-ghc-8.0.1.yaml 2016-05-28 23:36:41 +08:00
stack.yaml added test script for stack files (and fixed stack for ghc-7.8) 2016-05-29 00:03:46 +08:00
travis.sh travis: enable -Wall -Werror 2016-04-21 13:06:10 +08:00

servant - A Type-Level Web DSL

servant

Getting Started

We have a tutorial that introduces the core features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.

The central documentation can be found here. Other blog posts, videos and slides can be found on the website.

If you need help, drop by the IRC channel (#servant on freenode) or mailing list.

Contributing

See CONTRIBUTING.md