Commit graph

18 commits

Author SHA1 Message Date
Falco Peijnenburg
4df71dce96 servant-client-ghcjs: Throw exception on streamingRequest
Documented this behaviour in haddocks of client and ClientM
2018-04-28 14:36:47 +02:00
Falco Peijnenburg
108df0857e servant-client-ghcjs: Support binary requests
Introduces support for both sending and receiving binary data
2018-04-28 13:42:26 +02:00
Julian K. Arni
c02ca1b6e1 Implement new constructors for GHCJS.
Streaming is not actually performed - instead the whole object is
    held in memory.
2018-03-19 16:26:57 +01:00
Julian K. Arni
4824fbd961 Bump exceptions upper bound. 2018-03-13 11:07:44 +01:00
Oleg Grenrus
454f53315f Remove catchServantError 2018-03-11 16:50:14 +02:00
Oleg Grenrus
56a72d7d48 Add changelog and bump versions 2018-02-08 15:17:48 +02:00
Oleg Grenrus
c55b778d8e Bump lower bound of http-types >= 0.12
- WIP: pending http-api-data release
- TODO: remove MIN_VERSION_http_types
- There have been 3 major releases of http-types:
  - 0.10 change name of variable
  - 0.11 lowercase escaped URIs
  - 0.12 uppercase escaped URIs
- It's easier for us to support only latest, migration from 0.9/0.10 to 0.12
  is trivial for the downstream. 0.11 may cause semantic (non-type-error) breakage somewhere.

Also allow lens-4.16, remove MIN_VERSION_http_types conditionals, and
update `stack.yaml`
2018-01-30 11:29:25 +02:00
Michal Rus
e4bd07a907 Support http-client’s CookieJar in servant-client 2018-01-26 18:45:52 +02:00
Oleg Grenrus
8f62f81ed9 Allow http-types-0.11 and hspec-wai-0.9 2017-12-10 13:27:45 +02:00
Moritz Kiefer
544bb8184e Bump servant-client-core upperbound in servant-client-ghcjs 2017-12-05 15:32:58 +01:00
Falco Peijnenburg
e3a11dbcdb servant-client-ghcjs: Fixed up README 2017-10-24 21:02:13 +02:00
Falco Peijnenburg
bd52864718 servant-client-ghcjs: README 2017-10-22 15:17:15 +02:00
Falco Peijnenburg
3f905ea41c servant-client-ghcjs: Default runClientM doesn't accept ClientEnv, runClientMOrigin does.
CORS are rare. Most requests by far will be to the origin that served the javascript.
2017-10-22 14:55:18 +02:00
Falco Peijnenburg
911be50df2 servant-client-ghcjs: Fixed not throwing FailureResponse 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
74bde0a73d servant-client-ghcjs: Fixed Accept and Content-Type headers not being set 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
7b38e77b00 servant-client-ghcjs: Version bounds for ghcjs-base and ghcjs-prim 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
8d1229f2d4 servant-client-ghcjs: Renamed GhcjsClientM to ClientM 2017-10-22 14:55:18 +02:00
Falco Peijnenburg
67f2285e30 WIP! Untested! Initial servant-client-ghcjs package 2017-10-22 14:55:18 +02:00