Commit graph

1328 commits

Author SHA1 Message Date
Oleg Grenrus
93a9a17f9a Don't depend on semigroups on GHC >=8.0 2016-11-10 21:22:01 +02:00
Oleg Grenrus
3fec1a086a Use TupleSections, not list comprehensions 2016-11-10 21:22:01 +02:00
Oleg Grenrus
1abf84feca servant-client asks for any content-type in Accept contentTypes ne-list 2016-11-10 21:22:00 +02:00
Oleg Grenrus
148bb15635 Make MINIMAL contentType | contentTypes 2016-11-10 21:21:15 +02:00
Oleg Grenrus
bf66b2b1ff Allow multiple content-types for single Accept 2016-11-10 21:21:15 +02:00
Julian K. Arni
4fd31a60fb Bump version.
To 0.9.1.1
2016-10-27 13:25:27 +02:00
Julian Arni
67c26cb7bc Merge pull request #629 from hamishmack/master
Derive MonadThrow and MonadCatch for ClientM
2016-10-27 12:23:14 +01:00
Hamish Mackenzie
49931913c9 Derive MonadThrow and MonadCatch for ClientM 2016-10-27 22:32:41 +13:00
Julian K. Arni
9e809a0756 Bump version.
To 0.9.1.
2016-10-26 17:35:57 +02:00
Julian Arni
cd9bc8b52f Merge pull request #626 from haskell-servant/jkarni/response-header-tutorial
Add more documentation about response headers to tutorial.
2016-10-26 16:28:54 +01:00
Julian K. Arni
5e09493aa6 Add more documentation about response headers to tutorial. 2016-10-26 17:17:34 +02:00
Julian Arni
c0906d1873 Merge pull request #623 from haskell-servant/jkarni/noHeader
Add noHeader function.
2016-10-24 16:37:24 +01:00
Julian K. Arni
9ad2efe862 Review fixes 2016-10-24 17:15:29 +02:00
Sönke Hahn
3f6ecbb77b add err418 2016-10-24 10:42:48 -04:00
Julian K. Arni
ed82056052 Add noHeader function.
Which allows not adding a header where a signature declares one, making
    response headers optional.
2016-10-21 14:36:14 +02:00
Sönke Hahn
79f53cef3e servant-client: use base-compat in order to use less CPP 2016-10-17 11:52:40 -04:00
Ruben Moor
f352f3b136 Update Authentication.lhs 2016-10-14 11:09:46 -04:00
Julian K. Arni
3ddf225cec Bump version.
To 0.9.0.1.
2016-10-09 22:52:49 +02:00
VyacheslavHashov
c0c1f0fa25 Fixed haddocs in correspondence with the change ClientM to ReaderT 2016-10-09 16:19:14 -04:00
Julian Arni
def2f4ba1e Merge pull request #611 from phadej/remove-servant-js
Move servant-js to own repo
2016-10-08 15:44:11 +01:00
Oleg Grenrus
32313d9baf Move servant-js to own repo 2016-10-08 15:08:07 +01:00
Sönke Hahn
bc1a3e7faa bump version 2016-09-17 11:47:57 -04:00
Sönke Hahn
d7d22b8050 tweake changelogs for the upcoming release 2016-09-17 11:46:26 -04:00
Sönke Hahn
2a21e14e6e Merge pull request #601 from timhabermaas/master
Fix typo in servant-js README
2016-09-17 11:36:39 -04:00
Tim Habermaas
5d4b730b3e Fix typo in servant-js README 2016-09-16 18:48:54 +02:00
Julian Arni
a274d8a124 Merge pull request #592 from haskell-servant/use-http-api-forms
Use http api forms
2016-09-13 10:30:34 -03:00
Julian K. Arni
501212e6b9 Review fixes 2016-09-12 20:40:03 -03:00
Julian K. Arni
7cdebce96b Bounds and stack files 2016-09-12 18:34:18 -03:00
Julian K. Arni
0870b3b2f5 Remove FromFormUrlEncoded and ToFormUrlEncoded.
In favor of FromForm and ToForm from the new version of http-api-data.
2016-09-12 18:34:18 -03:00
Oleg Grenrus
f44b336bf1 Support http-api-data-0.3 2016-09-12 18:34:00 -03:00
Julian Arni
7f208c7f7d Merge pull request #598 from haskell-servant/jkarni/issecure
Add instances for IsSecure
2016-09-11 12:03:55 -03:00
Julian Arni
1842de4775 Merge pull request #600 from phadej/remove-servant-mock
Move servant-mock to https://github.com/haskell-servant/servant-mock
2016-09-08 13:39:36 -03:00
Oleg Grenrus
782f8e1541 Move servant-mock to https://github.com/haskell-servant/servant-mock 2016-09-08 17:42:58 +03:00
Julian Arni
040db21152 Merge pull request #599 from chkl/clientm
changed ClientM to be a Reader of ClientEnv
2016-09-07 20:03:36 -03:00
Christian Klinger
7a7f7d7cf5 changed ClientM to be a Reader of ClientEnv 2016-09-08 00:17:13 +02:00
Julian K. Arni
76e74f9d5a Add instances for IsSecure 2016-09-07 18:36:13 -03:00
Julian Arni
29af0bbdf9 Merge pull request #585 from axman6/axman6/get-headers-581
Replace use of ToByteString with HttpApiData for GetHeaders
2016-09-06 20:59:46 -03:00
Julian K. Arni
bf824a3889 Bump version to 0.8.1 2016-09-02 13:09:47 -03:00
Julian Arni
3d7a63e496 Merge pull request #588 from diekmann/patch-2
Fixed typo: s/real/realm/
2016-09-02 12:08:00 -03:00
Cornelius Diekmann
47eed38ee6 Fixed typo: s/real/realm/
Actually, I'm just trying to learn servant and I'm reading the doc for the first time. But this just looks like a typo to me.
2016-09-02 16:38:03 +02:00
Alex Mason
3e704362c3 Remove error calls and replace with working implementations of ToHttpApiData 2016-09-03 00:23:21 +10:00
Alex Mason
dbab31508e Comma style is hard 2016-09-02 23:59:36 +10:00
Alex Mason
a991cbe77c Revert version bump, update changelog 2016-09-02 23:53:18 +10:00
Alex Mason
5bef76ed03 Remove all use of bytestring-conversion 2016-09-02 23:27:37 +10:00
Alex Mason
9b5a564f3c Remove dependency on bytestring-conversion 2016-09-02 23:14:45 +10:00
Julian Arni
d09b70f427 Merge pull request #586 from cko/edit_contributing_instructions
add 'stack setup' command to CONTRIBUTING.md
2016-09-02 10:00:18 -03:00
Christine Koppelt
85a6d9714c add 'stack setup' command 2016-09-02 12:43:22 +02:00
Alex Mason
a1b23018f9 Replace use of ToByteString with HttpApiData for GetHeaders, fixes servant/#581
* Version bump because this changes the API for GetHeaders
2016-09-02 19:47:32 +10:00
Julian Arni
9e7356c6d3 Merge pull request #506 from haskell-servant/jkarni/servant-js-docs
Add more JS documentation.
2016-08-25 16:14:09 -03:00
Sönke Hahn
23493d982d add Raw to ComprehensiveAPI (and add ComprehensiveAPIWithoutRaw) 2016-08-17 23:36:30 +02:00