From 574e9c48cdc7e22830e5f49f0a470d5b819b53cf Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Thu, 7 Jan 2016 13:44:08 +0100 Subject: [PATCH] Export all Verb methods. --- servant/src/Servant/API.hs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/servant/src/Servant/API.hs b/servant/src/Servant/API.hs index 2565149f..ff1e24ec 100644 --- a/servant/src/Servant/API.hs +++ b/servant/src/Servant/API.hs @@ -70,7 +70,22 @@ import Servant.API.ResponseHeaders (AddHeader (addHeader), getHeadersHList, getResponse) import Servant.API.Sub ((:>)) import Servant.API.Vault (Vault) -import Servant.API.Verbs (Delete, Get, Patch, Post, Put, +import Servant.API.Verbs (Created, Delete, DeleteAccepted, + DeleteNoContent, + DeleteNonAuthoritative, Get, + GetAccepted, GetNoContent, + GetNonAuthoritative, + GetPartialContent, + GetResetContent, + NoContent (NoContent), Patch, + PatchAccepted, PatchNoContent, + PatchNoContent, + PatchNonAuthoritative, Post, + PostAccepted, PostNoContent, + PostNonAuthoritative, + PostResetContent, Put, + PutAccepted, PutNoContent, + PutNoContent, PutNonAuthoritative, ReflectMethod (reflectMethod), Verb) import Servant.Utils.Links (HasLink (..), IsElem, IsElem',