servant/servant-client-core/src/Servant/Client/Core/Internal
Oleg Grenrus bc3f61d615 Add Servant.API.Modifiers to servant
Changes Header, ReqBody and QueryParam to take a modifier list.

Resolves https://github.com/haskell-servant/servant/issues/856

ResponseHeader story turns to be somewhat ugly, but it can be made
elegant when https://github.com/haskell-servant/servant/issues/841 is
implemnted, then we can omit HList aka Header Heterogenous List
implementation.

- servant-server changes:

  Writing server side intepretations is quite simple using
  `unfoldRequestArgument`, which makes Header and QueryParam look quite
  the same.

  `ReqBody` cannot be easily made optional with current design (what that
  would mean: No Content-Type Header?), so that dimensions isn't used
  there.

- Add HasLink for all the rest ComprehensiveAPI combinators
- Add 'tricky' Header', QueryParam' endpoints to ComprehensiveAPI
- servant-docs: Quick'n'dirty implementation. Don't use modifiers information (yet).
2018-01-25 09:10:11 +02:00
..
Auth.hs Documentation and Reexport module 2017-09-14 09:54:13 -04:00
BaseUrl.hs Fix some tests 2017-09-14 09:54:13 -04:00
BasicAuth.hs Compiling servant-client-core 2017-09-14 09:54:13 -04:00
Generic.hs Almost compiling test 2017-09-14 09:54:13 -04:00
HasClient.hs Add Servant.API.Modifiers to servant 2018-01-25 09:10:11 +02:00
Request.hs streaming client actually streams 2017-10-24 17:12:21 -07:00
RunClient.hs streaming client actually streams 2017-10-24 17:12:21 -07:00