Commit graph

2452 commits

Author SHA1 Message Date
Oleg Grenrus
388f8f07cd Don't edit changelog 2019-02-05 11:53:06 +02:00
Oleg Grenrus
3a9a1ca55b Parametrise over body contents only 2019-02-05 11:51:42 +02:00
Oleg Grenrus
46afc9bcdd
Merge pull request #1110 from haskell-servant/oleg-testcase-1091
Oleg testcase 1091
2019-02-04 18:06:48 +02:00
Ben Gamari
9a655fd68e client: Preserve failing request in FailureResponse
This was previously implemented in #470 but later unintentionally
reverted in #803. This isn't verbatim the design implemented earlier; we
now capture the full RequestF save the request body.

Fixes #978.
2019-02-03 12:09:18 -05:00
Ben Gamari
aa704596be client: Parameterize RequestF on request body type
This allows us to provide an NFData instance for RequestF, which will
later be useful when we capture the request in FailureResponse.
2019-02-03 12:06:30 -05:00
Oleg Grenrus
109f7b2a45 Add venv warning checks to doc/Makefile 2019-02-02 16:05:03 +02:00
Oleg Grenrus
e9466b7752 Implement HasClient (StreamBody ... :> api) 2019-02-02 15:50:23 +02:00
Domen Kožar
e49b0369c0 servant-client: add a test case for StreamBody 2019-02-02 11:01:26 +02:00
Oleg Grenrus
b31128a99e Add changelog entries: 1104 1103 2019-02-02 10:25:24 +02:00
Oleg Grenrus
df6e992675
Merge pull request #1103 from tstat/capture-parse-failure-fix
Set http failure code priority explicitly
2019-02-02 10:23:55 +02:00
Oleg Grenrus
28ac8c072b
Merge pull request #1104 from michaelsdunn1/master
Update CookieJar with intermediate request/responses using Network.HTTP.Client.HistoriedResponse.
2019-02-02 10:21:21 +02:00
Michael Dunn
8490ccbe93 Do one atomic update to the cookie jar for all request and responses. 2019-01-26 22:13:32 -06:00
Michael Dunn
c33f27de04 updateCookieJar is now in STM to only allow for a single atomic update. 2019-01-26 18:01:53 -06:00
Michael Dunn
07b3236eb6 Added Cookie in CookieJar after redirect test case to ClientSpec.hs. 2019-01-25 10:17:58 -06:00
Oleg Grenrus
15610f24bd
Merge pull request #1107 from haskell-servant/network-3.0
Allow network-3.0
2019-01-23 10:28:47 +02:00
Oleg Grenrus
b685efecbe Allow network-3.0 2019-01-23 02:20:16 +02:00
Oleg Grenrus
c25085e9e5 Allow http-client-0.6 2019-01-09 10:45:40 +02:00
Travis Staton
9d8a8118b8 Set http failure code priority explicitly 2019-01-06 11:02:38 -05:00
Michael Dunn
37a38d7a9b Cookies are added to the CookieJar for all intermediate/redirected requests. 2019-01-04 17:04:20 -06:00
Alp Mestanogullari
a3d335b436
Merge pull request #1098 from csamak/patch-1
Fix the tutorial app4 curl example
2018-12-19 10:40:30 +01:00
csamak
2191fc815e
Fix the tutorial app4 curl example
Change the app4 curl example to match the API definition.
2018-12-17 11:11:41 -08:00
Oleg Grenrus
7bbcfb21e7
Merge pull request #1090 from domenkozar/nocontent-nfdata
Add NoContent instance for NFData
2018-11-27 19:48:59 +02:00
Domen Kožar
e7655d380a
Add NoContent instance for NFData 2018-11-27 16:41:31 +00:00
Oleg Grenrus
e3e5d2b230
Merge pull request #1082 from phadej/changelog-0.15b
Changelog 0.15b
2018-11-13 17:55:18 +02:00
Oleg Grenrus
3b8db040f3 http-api-data-0.4 2018-11-13 17:21:29 +02:00
Alp Mestanogullari
1fb70d3a90
Merge pull request #1081 from xaviershay/rawm
Add note to custom monad documentation about what to do with Raw endpoints
2018-11-13 10:53:07 +01:00
Oleg Grenrus
e0e0674645 Strict dependencies on http-api-data and singleton-bool 2018-11-13 10:35:06 +02:00
Oleg Grenrus
a1a99552b5 Changelog and cabal file edits
- Add #1079, #1011 entry
- Stricter internal dependencies
- Unify .cabal files
- Correct -conduit, -machines, -pipes changelog
- Fix years in LICENSEs
- Remove tinc.yamls
- Tweaks to 0.15 changelog
- Add changelogs for all packages
- Add changelogs for new packages (extra-source-files)
2018-11-13 09:58:42 +02:00
Oleg Grenrus
c62721e2ea
Merge pull request #1072 from phadej/changelog-0.15
Add changelog for 0.15
2018-11-12 22:01:55 +02:00
Oleg Grenrus
44aabebb04
Merge pull request #1079 from haskell-servant/issue-1011
Fix issue #1011: NewlineFraming encodes newline after each element
2018-11-12 22:01:14 +02:00
Oleg Grenrus
d64c2322d8
Merge pull request #1078 from phadej/arbitrary-sourcet
Add Arbitrary (SourceT m a) and StepT m a instances
2018-11-12 22:01:00 +02:00
Xavier Shay
63d685adb3 Add note to custom monad documentation about what to do with Raw endpoints. 2018-11-11 09:31:57 -08:00
Oleg Grenrus
f1eb5f93a8 Fix issue #1011: NewlineFraming encodes newline after each element 2018-11-10 01:45:56 +02:00
Oleg Grenrus
17f9237980 Add framingRender examples 2018-11-10 01:44:40 +02:00
Oleg Grenrus
4961cc2f3a Add Arbitrary (SourceT m a) and StepT m a instances
The generated instances are pure-ish; errorless.
2018-11-09 23:49:25 +02:00
Oleg Grenrus
ce83e4b404
Merge pull request #1077 from phadej/stream-body-mods
Add mods to StreamBody
2018-11-09 23:10:13 +02:00
Oleg Grenrus
c6311be5a1 Add #1077 entry 2018-11-09 21:52:20 +02:00
Oleg Grenrus
3001ed7990 Add mods to StreamBody 2018-11-09 21:49:53 +02:00
Oleg Grenrus
a5d3f44f2a Add #1076 entry 2018-11-09 21:14:30 +02:00
Oleg Grenrus
d9dc894ca6 Add changelog for 0.15 2018-11-09 21:14:30 +02:00
Oleg Grenrus
bbf196717f
Merge pull request #1076 from phadej/run-streaming-client
Add runClientM for streaming-client
2018-11-09 21:13:05 +02:00
Oleg Grenrus
0dd8ee7585 Add runClientM for streaming-client 2018-11-09 20:22:47 +02:00
Oleg Grenrus
5f947d1c43 Bump version numbers
- Almost everything 0.15; also servant-foreign jumped to 0.15, for
  consistency
- Bump lower bounds of dependencies to most recent versions atm
- Use hspec-2.6.0
- Update `stack.yaml` accordingly
- Use base-compat a bit more
- Drop aeson-compat dependency (in tests and tutorial)
2018-11-09 20:20:26 +02:00
Oleg Grenrus
5e3faa12c0
Merge pull request #1073 from phadej/ghc-8.6.2
tested-with: GHC==8.6.2
2018-11-09 18:49:45 +02:00
Oleg Grenrus
4195fd04d4 tested-with: GHC==8.6.2 2018-11-09 17:41:00 +02:00
Oleg Grenrus
97bd6f0a40
Merge pull request #1066 from phadej/separate-streaming-client
Separate streaming client
2018-11-09 14:50:57 +02:00
Oleg Grenrus
c95b195eb4 XhrClient doesn't support streaming 2018-11-08 18:47:54 +02:00
Oleg Grenrus
21af9a4051 Tweak lookupResponseHeader docs 2018-11-08 18:36:31 +02:00
Oleg Grenrus
db80f41dee
Merge pull request #1064 from DanBurton/lookup-response-header
Add lookupResponseHeader
2018-11-08 18:36:09 +02:00
Oleg Grenrus
8feda81fcd Separate Servant.Client.Streaming
- as a bonus only `servant-client` depends on `kan-extensions`
2018-11-08 17:58:21 +02:00