Oleg Grenrus
|
27facba0e8
|
Trim trailing whitespace
|
2017-05-14 19:26:25 +03:00 |
|
Catherine Galkina
|
af1b267726
|
Fix servant-client tests after rebase
|
2017-01-17 16:34:30 +03:00 |
|
Catherine Galkina
|
3cc667892c
|
Add tests for Servant.Client.Generic
|
2017-01-17 16:29:24 +03:00 |
|
Oleg Grenrus
|
5168157757
|
Make Handler a newtype
|
2017-01-16 12:18:49 +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 |
|
Julian K. Arni
|
501212e6b9
|
Review fixes
|
2016-09-12 20:40:03 -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 |
|
Christian Klinger
|
7a7f7d7cf5
|
changed ClientM to be a Reader of ClientEnv
|
2016-09-08 00:17:13 +02:00 |
|
Jonathan Lange
|
d945c99f82
|
Test whole list in CaptureAll client tests
|
2016-07-11 14:47:05 +01:00 |
|
Jonathan Lange
|
7fb9a95711
|
servant-client support for CaptureAll
|
2016-07-11 14:46:31 +01:00 |
|
Julian Arni
|
ea36656dcd
|
Merge pull request #505 from haskell-servant/jkarni/reexport-application
Re-export Application.
|
2016-05-12 10:38:46 +02:00 |
|
Julian K. Arni
|
211254512e
|
Re-export Application.
|
2016-05-11 12:17:36 +02:00 |
|
Oleg Grenrus
|
008f2434ee
|
Add -Wno-redundant-constraints
|
2016-05-10 19:09:59 +03:00 |
|
Sönke Hahn
|
b26bbfccda
|
travis: enable -Wall -Werror
|
2016-04-21 13:06:10 +08:00 |
|
Luke Cycon
|
21546991af
|
Introduce a Handler alias for ExceptT ServantErr IO
Fixes #434
|
2016-04-11 22:27:29 -07:00 |
|
mbg
|
9e1ba9221d
|
Manager and BaseUrl are now explicit parameters of all client functions, instead of ReaderTs
|
2016-03-30 22:41:39 +01:00 |
|
mbg
|
41129e98b3
|
Removed GetNth and GetLast type classes
|
2016-03-28 18:01:53 +01:00 |
|
mbg
|
89b0758dc8
|
Changed servant-client tests to reflect the changes to the client function
|
2016-03-28 14:52:33 +01:00 |
|
aaron levin
|
b3af5a8d95
|
Move general authentication to Experimental module
Removes the UndecidableInstances extension in the module containing the
HasServer instances.
|
2016-03-09 22:30:34 +01:00 |
|
aaron levin
|
23da4879ef
|
Add general auth support to servant-client
|
2016-03-09 22:30:34 +01:00 |
|
aaron levin
|
546adc391a
|
basic-auth: config -> context
|
2016-03-08 23:28:27 +01:00 |
|
aaron levin
|
1e703be15f
|
replace serve with serveWithConfig
|
2016-03-08 23:13:05 +01:00 |
|
aaron levin
|
d989d15e4c
|
Add basic-auth support to servant-client
|
2016-03-08 23:13:05 +01:00 |
|
Julian K. Arni
|
f137972e5d
|
Add 'serveWithConfig'.
And keep the old signature for 'serve'
|
2016-02-18 16:36:24 +01:00 |
|
Sönke Hahn
|
df09f8616e
|
config: remove HasConfig and make HasServer take config as a parameter
|
2016-01-21 17:58:50 +01:00 |
|
Sönke Hahn
|
67315c4487
|
server: added Config machinery
|
2016-01-21 17:55:02 +01:00 |
|
Sönke Hahn
|
ac930ef198
|
ComprehensiveAPI: add some comments (and minor tweaks)
|
2016-01-18 20:06:45 +01:00 |
|
Sönke Hahn
|
e5974ec94d
|
add ComprehensiveAPI to test whether we're missing instances
Some of the combinators are commented atm, because we *are* missing combinators.
|
2016-01-18 12:28:29 +01:00 |
|
Julian K. Arni
|
783a849c67
|
Make NoContent still take an arg.
For consistency with other combinators, and to make using headers
easier.
|
2016-01-07 14:30:08 +01:00 |
|
Julian K. Arni
|
cda8bcf17c
|
Simplify verb combinators.
Create a single 'Verb' combinator with parameters for status code and
method. Make existing combinators type synonyms of 'Verb'.
|
2016-01-07 13:47:07 +01:00 |
|
Julian K. Arni
|
79d4f944a4
|
less OverlappingInstances noise
|
2016-01-04 13:09:11 -05:00 |
|
Julian K. Arni
|
40686be83a
|
Rebase fixes
|
2015-10-13 21:45:22 +02:00 |
|
Julian K. Arni
|
2a894d861c
|
-Wall fixes
|
2015-10-13 21:38:13 +02:00 |
|
Julian K. Arni
|
afc76b8f6c
|
Remove MatrixParam.
In servant, servant-server, and servant-client.
|
2015-10-13 21:37:07 +02:00 |
|
Julian K. Arni
|
d9594e24b4
|
Rebase fix.
|
2015-10-11 21:47:31 +02:00 |
|
Julian K. Arni
|
c2a06bc090
|
More generous acceptable status codes for servant-client
|
2015-10-11 21:12:05 +02:00 |
|
Arian van Putten
|
a08e644333
|
Add OVERLAPPING pragma to instances in ClientSpec
|
2015-10-09 00:48:03 +02:00 |
|
Julian K. Arni
|
7529d7f776
|
getLast (and last missing servant-client test)
|
2015-10-08 12:09:23 +02:00 |
|
Julian K. Arni
|
59d8824888
|
remove 'hspec' call in servant-client tests
|
2015-10-07 17:52:23 +02:00 |
|
Julian K. Arni
|
de447dfe22
|
Pass in Manager as argument to 'client'
|
2015-09-28 16:34:53 +02:00 |
|
Index Int
|
f2f7b061d2
|
Drop EitherT in favor of ExceptT
|
2015-09-12 15:11:24 +03:00 |
|
Taylor Fausak
|
4238a58f92
|
Fix #203; add path to BaseUrl
|
2015-08-25 08:42:13 -05:00 |
|
Christian Marie
|
a4bf32c51a
|
servant-client: Hide HttpException by wrapping it in SomeException
|
2015-06-12 21:19:26 +10:00 |
|
Christian Marie
|
ad16c4f768
|
Merge branch 'master' into existential-error
|
2015-06-12 19:56:49 +10:00 |
|
Timo von Holtz
|
ed7d235b26
|
Don't export HttpException
|
2015-05-25 17:51:35 +10:00 |
|
Brandon Martin
|
b45ac07ece
|
HasClient instance for Delete cts' () now does not care at all about content types provided
|
2015-05-17 07:51:49 -06:00 |
|
Brandon Martin
|
bc8efb2464
|
clean up Client and remove Setup binary
|
2015-05-08 17:51:23 -06:00 |
|
Brandon Martin
|
7c24c2a5a3
|
remove unsed type and clean up
merge master and fix conflicts
|
2015-05-08 15:53:09 -06:00 |
|
Julian K. Arni
|
eba7d654c2
|
Fix remaining test cases
|
2015-05-08 15:53:09 -06:00 |
|
Brandon Martin
|
f5dd4bfdbd
|
changes to fix tests for baseurl changes
initial changes to fix tests for baseurl changes
more test fixes
moving some test spec stuff around
|
2015-05-08 15:53:09 -06:00 |
|