Commit graph

29 commits

Author SHA1 Message Date
Timo von Holtz
a23204e134 Use renderHeader to render the Accept header 2015-02-17 12:23:03 +11:00
Timo von Holtz
098b503625 Don't send an Accept header if the list of accepted types is empty 2015-02-17 11:56:15 +11:00
Timo von Holtz
c444ec8374 Send the correct Accept header 2015-02-17 11:51:59 +11:00
Timo von Holtz
e6e67b275b Check for correct content-type in result. 2015-02-17 10:55:35 +11:00
Timo von Holtz
db2c5a42b2 Expose content type in response. 2015-02-17 10:32:15 +11:00
Timo von Holtz
7a1eac4e86 Correctly set the content type for ReqBody 2015-02-17 10:05:39 +11:00
Julian Arni
8ef4b5dbcc Merge pull request #9 from haskell-servant/jkarni/fix-travis
Use 'master' servant and servant-server for travis.
2015-02-15 08:46:06 +01:00
Julian K. Arni
a723a0f8d5 Use 'master' servant and servant-server for travis. 2015-02-15 08:37:52 +01:00
Alp Mestanogullari
a7749a04b7 Merge pull request #6 from zerobuzz/nothing-really
Whitespace.
2015-02-09 11:28:07 +00:00
Matthias Fischmann
3b48ca7d43 Cleanup. 2015-02-06 09:34:59 +01:00
Christian Marie
0edb828c1d Fix tests -- Capture cannot be empty 2015-02-02 13:35:10 +11:00
Christian Marie
cdbe95bcdf Merge branch 'tvh-support-tls' 2015-02-02 12:39:55 +11:00
Christian Marie
6797a58f65 Merge branch 'tvh-delete-empty-body' 2015-02-02 12:37:04 +11:00
Timo von Holtz
e5db50917b Add test for 'Delete' 2015-02-02 09:33:05 +11:00
Timo von Holtz
56e68bc737 Don't try to parse the empty response body for Delete 2015-01-30 17:05:01 +11:00
Timo von Holtz
015a6feeea Travis: use current HEAD of servant-server 2015-01-28 21:00:28 +11:00
Timo von Holtz
4228447e91 Add TLS support 2015-01-23 09:18:13 +11:00
Julian Arni
83e46f41ef Merge pull request #2 from dlarsson/master
Support for matrix parameters
2015-01-15 12:40:40 +01:00
Daniel Larsson
8aba885488 Added support for matrix parameters. 2015-01-01 23:43:29 +01:00
Daniel Larsson
83afdcb96b Declared query string parameters are always sent in requests, even when no value is assigned to them (?name). The server handles a missing query parameter, and a query parameter with no value the same, but to be consistent with the documentation ("If you give Nothing, nothing will be added to the query string.") I made a small change to avoid sending empty query parameters. Also the value and req' parameters were flipped in the lambda in the QueryParams case. 2015-01-01 15:14:07 +01:00
Alp Mestanogullari
fbc012c348 adapt to servant/servant-server split, prepare release 2014-12-10 16:51:05 +01:00
Alp Mestanogullari
2ecc6124b0 add HasClient instance for Header 2014-12-08 12:52:30 +01:00
Alp Mestanogullari
fe3bd998aa polish up cabal file, add a README 2014-12-08 11:10:51 +01:00
Alp Mestanogullari
8c7cc95b8c travis: build with ghc 7.8 and clone servant from git before building 2014-12-02 17:48:21 +01:00
Alp Mestanogullari
6d9fa0f86a add travis file 2014-12-02 17:25:38 +01:00
Alp Mestanogullari
f8078001e2 add LICENSE files to all projects 2014-12-01 16:38:43 +01:00
Alp Mestanogullari
2991161b87 fix travis script... 2014-12-01 16:29:42 +01:00
Alp Mestanogullari
530797eb42 clarify haddocks for HasClient 2014-12-01 13:41:12 +01:00
Alp Mestanogullari
d93e4620d4 first shot at splitting servant into servant, servant-client and servant-docs 2014-11-27 18:28:01 +01:00