Commit graph

2185 commits

Author SHA1 Message Date
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
Phil Freeman
42fc048dfc Add missing slash character in generated docs. 2014-12-31 17:19:35 -08:00
Phil Freeman
17569a31b6 Add .gitignore file which ignore sandbox files 2014-12-31 17:18:23 -08:00
Daniel Larsson
fe541f3bf4 Added support for matrix parameters 2014-12-28 22:56:58 +01:00
Alp Mestanogullari
fb153d4e08 Merge pull request #3 from haskell-servant/jkarni/issue1
Fix dot in function name issue.
2014-12-24 14:02:47 +01:00
Julian K. Arni
58b27cd957 Fix dot in function name issue. 2014-12-24 13:55:25 +01:00
Julian Arni
87b7c8e376 Merge pull request #1 from haskell-servant/jkarni/encodePretty
Switch to encodePretty in sampleByteString.
2014-12-20 22:09:28 +01:00
Julian K. Arni
3898c19afe Switch to encodePretty in sampleByteString. 2014-12-20 21:58:07 +01:00
Alp Mestanogullari
df5c8d9843 guard against failures with old versions of 'either' 2014-12-19 18:26:03 +01:00
Alp Mestanogullari
0fea0ddbf9 expose Servant.Server.Internal, useful when we define our own combinators externally 2014-12-19 18:15:21 +01:00
Alp Mestanogullari
7ea1203c8b Merge pull request #2 from spl/patch-1
Fix typo
2014-12-13 00:40:49 +01:00
Sean Leather
4a89f5d6c7 Fix typo 2014-12-12 21:04:03 +02:00
Alp Mestanogullari
14a2750411 update README to refflect the servant/servant-server split 2014-12-12 10:39:08 +01:00
Alp Mestanogullari
fbc012c348 adapt to servant/servant-server split, prepare release 2014-12-10 16:51:05 +01:00
Alp Mestanogullari
2d2c46ea12 adapt to the servant/servant-server split 2014-12-10 16:43:43 +01:00
Alp Mestanogullari
824c56ff22 prepare for release 2014-12-10 16:39:40 +01:00
Alp Mestanogullari
9aeb295955 make ReqBody kind polymorphic (for a test) 2014-12-10 16:31:40 +01:00
Alp Mestanogullari
6836eb6bcc add split server-side bits into servant-server 2014-12-10 16:31:40 +01:00
Alp Mestanogullari
d106989d62 adapt to the servant/servant-server split, prepare new release 2014-12-10 16:29:50 +01:00
Alp Mestanogullari
e43532b71d first shot at a server package 2014-12-10 16:10:57 +01:00
Alp Mestanogullari
741da9fde1 Merge pull request #1 from haskell-servant/jkarni/cleaner-haddock
Clean up QQ and Utils.Links haddock.
2014-12-10 10:43:44 +01:00
Julian K. Arni
f4f86520bc Clean up QQ and Utils.Links haddock. 2014-12-10 10:34:49 +01:00
Alp Mestanogullari
c660b9cb0b -Wall police 2014-12-09 15:39:41 +01:00
Alp Mestanogullari
d760149ce0 put quotes around header name 2014-12-08 13:34:26 +01:00
Alp Mestanogullari
3d467cfab2 add jq support for Servant.API.Header 2014-12-08 13:32:47 +01:00
Alp Mestanogullari
d831cf944f add docs support for Header 2014-12-08 13:07:34 +01:00
Alp Mestanogullari
2ecc6124b0 add HasClient instance for Header 2014-12-08 12:52:30 +01:00
Alp Mestanogullari
501dafaeba add Servant.API.Header 2014-12-08 12:28:11 +01:00
Alp Mestanogullari
0a2d3bc12c polish up cabal file, add README 2014-12-08 12:01:56 +01:00
Alp Mestanogullari
2261521002 polish up cabal file, add README and output of the example 2014-12-08 11:25:52 +01:00
Alp Mestanogullari
fe3bd998aa polish up cabal file, add a README 2014-12-08 11:10:51 +01:00
Alp Mestanogullari
17607212b3 cabal file typos 2014-12-08 11:00:26 +01:00
Alp Mestanogullari
55eb020d10 polish up cabal file, add a README 2014-12-08 10:56:02 +01:00
Alp Mestanogullari
9c343face8 add a TODO 2014-12-05 11:39:25 +01:00
Alp Mestanogullari
654e59d7c4 add script for generating the docs and pushing them to github-pages 2014-12-02 18:35:11 +01:00
Alp Mestanogullari
ffb3392cff travis: build with ghc 7.8 and clone servant from git before building 2014-12-02 17:50:44 +01:00
Alp Mestanogullari
d517bfa69c travis: buidl with ghc 7.8 and clone servant from git before building 2014-12-02 17:49:25 +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
1defab0d2f travis: build with ghc 7.8 2014-12-02 17:45:24 +01:00
Alp Mestanogullari
470df01c47 add travis file 2014-12-02 17:26:05 +01:00
Alp Mestanogullari
426c59078c add travis file 2014-12-02 17:25:52 +01:00
Alp Mestanogullari
6d9fa0f86a add travis file 2014-12-02 17:25:38 +01:00
Alp Mestanogullari
d9d94e6f4e oops. rename travis file to .travis.yml 2014-12-02 17:25:25 +01:00
Alp Mestanogullari
987b160691 add travis file 2014-12-02 17:24:10 +01:00
Alp Mestanogullari
99215cd654 first shot at generating function names automatically 2014-12-01 17:36:18 +01:00
Alp Mestanogullari
3e76058d25 drop the dependency on interpolate and hence on haskell-src-exts, it's becoming too annoying to keep 2014-12-01 17:23:25 +01:00
Alp Mestanogullari
4dafc4efb4 add LICENSE files to all projects 2014-12-01 16:38:43 +01:00
Alp Mestanogullari
f8078001e2 add LICENSE files to all projects 2014-12-01 16:38:43 +01:00
Alp Mestanogullari
91fc74b70e add LICENSE files to all projects 2014-12-01 16:38:43 +01:00
Alp Mestanogullari
d39d1f1d0a fix travis script... 2014-12-01 16:29:42 +01:00