on master help sign in
Add PATCH method
commit59a20b2974044a9acf756ccdc8b42b5e1b935b20 authorTimo von Holtz <tvh@anchor.com.au> dateTue 10 Feb 2015, 11:06 (12 years ago) parent4eb9430
2 files changed+4
servant.cabal+1 src/Servant/API.hs+3
servant.cabal+1
@@ -31,6 +31,7 @@ library
3131 Servant.API.Delete
3232 Servant.API.Get
3333 Servant.API.Header
34+ Servant.API.Patch
3435 Servant.API.Post
3536 Servant.API.Put
3637 Servant.API.QueryParam
src/Servant/API.hs+3
@@ -27,6 +27,8 @@ module Servant.API (
2727 module Servant.API.Delete,
2828 -- | PUT requests
2929 module Servant.API.Put,
30+ -- | PATCH requests
31+ module Servant.API.Patch,
3032
3133 -- * Untyped endpoints
3234 -- | Plugging in a wai 'Network.Wai.Application', serving directories
@@ -46,6 +48,7 @@ import Servant.API.Get ( Get )
4648import Servant.API.Header ( Header )
4749import Servant.API.Post ( Post )
4850import Servant.API.Put ( Put )
51+import Servant.API.Patch ( Patch )
4952import Servant.API.QueryParam ( QueryFlag, QueryParams, QueryParam )
5053import Servant.API.MatrixParam ( MatrixFlag, MatrixParams, MatrixParam )
5154import Servant.API.Raw ( Raw )