Timo von Holtz
e9797732b1
Add Response Headers
2015-03-18 15:23:09 +11:00
Julian K. Arni
635902e592
Cleanup, including:
...
- Integrated doctests into cabal
- Doctest more of the documentation
- Remove the (:>) constructor
- Give kind signatures to Symbols
- Make all constructors typeable
- Use stylish-haskell for consistency of styling
- Cleanup documentation
- Remove old TODO.md
2015-02-25 23:10:29 +01:00
Julian K. Arni
1a200f1c48
Use lenient decoding for JSON.
2015-02-25 12:48:15 +01:00
Julian K. Arni
b00596a530
Bump upper bound for http-media
2015-02-24 10:29:00 +01:00
Timo von Holtz
4f91a28d57
Add test for FormUrlEncoded using Network.URL
2015-02-23 16:54:10 +11:00
Julian K. Arni
5be2430b11
Fix Integer FromText instance.
...
And add FromText/ToText tests.
2015-02-20 17:05:59 +01:00
Julian K. Arni
5470297bdc
Remove QQ for now
2015-02-20 15:08:13 +01:00
Julian K. Arni
08528dccfa
More content type tests
2015-02-20 12:26:53 +01:00
Julian K. Arni
0453cc3d2a
Some tests for provided content-types.
2015-02-20 01:12:34 +01:00
Julian K. Arni
d299bd3397
Move Mime(Un)Render and remove types which don't have instances for them
2015-02-20 01:07:06 +01:00
Julian K. Arni
5e4297a135
Review fixes
2015-02-19 13:46:11 +01:00
Julian K. Arni
0658ab674f
Update other-extensions.
2015-02-18 12:07:54 +01:00
Julian K. Arni
a75c723226
Move more content-type logic from servant-server
2015-02-18 10:29:16 +01:00
Julian K. Arni
a1e1de91a9
ReqBody content types.
...
And general cleanup.
2015-02-18 10:29:16 +01:00
Julian K. Arni
8930a45403
Add Content Types.
...
Still needs QQ.
2015-02-18 10:25:33 +01:00
Julian Arni
648dc2f2fb
Merge pull request #11 from anchor/patch-method
...
Patch method
2015-02-15 00:59:19 +08:00
Timo von Holtz
59a20b2974
Add PATCH method
2015-02-10 11:18:13 +11:00
Christian Marie
12cf4e02ab
Remove un-needed dependencies.
2015-01-29 17:55:57 +11:00
Christian Marie
70ffe01f9a
Rewrite Utils.Links to export a nicer API.
...
* Add support for parameters.
* Clean up type level magic, invalid links no longer have a type.
* Proxies are now used to be consistent with the rest of the servant ecosystem.
2015-01-29 10:07:01 +11:00
Daniel Larsson
0b29d1d690
Bumped version number, and added a .gitignore file.
2015-01-15 10:38:59 +01:00
Daniel Larsson
839f5a79a9
Added support for matrix parameters
2015-01-15 10:38:59 +01:00
Alp Mestanogullari
6836eb6bcc
add split server-side bits into servant-server
2014-12-10 16:31:40 +01:00
Alp Mestanogullari
501dafaeba
add Servant.API.Header
2014-12-08 12:28:11 +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
67abcff47f
first shot at splitting servant into servant, servant-client and servant-docs
2014-11-27 18:28:01 +01:00
Julian K. Arni
dee47654f9
Rename ApiQuasiQuoting.
...
And fix haddocks for it.
2014-11-25 16:35:56 +01:00
Alp Mestanogullari
dacea018a7
preliminary readme
2014-11-22 13:54:24 +01:00
Alp Mestanogullari
f36e488f9e
Merge pull request #36 from alpmestan/some_refactorings
...
Client instance for Raw, API documentation serving, some refactoring.
2014-11-14 13:17:31 +01:00
Alp Mestanogullari
e7b72561ee
Merge pull request #35 from alpmestan/static_files_shahn
...
Static files shahn
2014-11-14 11:12:47 +01:00
Julian K. Arni
d8ab4ec418
Switch from hspec2 to hspec ~ 2.
2014-11-14 09:14:08 +01:00
Sönke Hahn
9ee7373608
cabal: remove -Werror to allow deprecation warnings
2014-11-13 19:56:44 +08:00
Sönke Hahn
82ff0a6ad7
added Servant.Utils.StaticFiles.serveDocumentation
2014-11-13 14:54:10 +08:00
Sönke Hahn
fc3c2c4128
fixup cabal file
2014-11-13 14:54:10 +08:00
Sönke Hahn
d8b0e4c7e5
add S.Utils.StaticFiles
2014-11-13 14:54:10 +08:00
Julian K. Arni
614c06b6e5
Switch to Parsec for QQ parsing
2014-11-12 11:34:33 +01:00
Sönke Hahn
165022a554
module refactoring: putting some things in Servant.Common
2014-11-07 19:12:27 +08:00
Sönke Hahn
1cd35034e9
module renaming: S.API.Elem -> S.Utils.Links
2014-11-07 16:59:36 +08:00
Sönke Hahn
af00035b99
module renaming: S.API.QQ -> S.Utils.ApiQuasiQuoting
2014-11-07 16:55:17 +08:00
Sönke Hahn
2f9fb2b713
removed S.Utils.Client (and put the code into S.Client.Req)
2014-11-07 15:23:50 +08:00
Sönke Hahn
bec10dd16a
put Req in Servant.Utils.Req
2014-11-07 12:41:00 +08:00
Sönke Hahn
8e72c70767
moved S.Client.BaseUrl to S.Utils.BaseUrl
2014-11-07 11:58:41 +08:00
Sönke Hahn
93195abed6
put BaseUrl in it's own module
2014-11-07 11:09:54 +08:00
Sönke Hahn
f0bca3852c
implement BaseUrl to allow https for Clients
2014-11-05 20:03:57 +08:00
Julian K. Arni
11f82633da
Type safe links.
2014-11-04 12:24:52 +01:00
Sönke Hahn
fd636ead19
test suite: quickcheck property for a more complex client function
2014-10-31 15:49:58 +01:00
Sönke Hahn
16dbf9b188
Allow arbitrary JSON values (not only arrays and objects)
...
And added tests for QueryFlag.
2014-10-31 20:29:00 +08:00
Sönke Hahn
a9eeff14bd
client: correctly handle exceptions on error status codes
2014-10-31 18:01:00 +08:00
Sönke Hahn
f058a3051a
HasClient: changing URI to URIAuth (and adding the first client test
...
case)
2014-10-31 18:01:00 +08:00
Sönke Hahn
08e2a6a895
renamed Union -> Alternative
2014-10-30 18:37:58 +08:00