Permalink
Browse files

PATCH and extension methods

  • Loading branch information...
1 parent 821a71a commit 6b82c2c155762f069f0d03a08473031771a0c19f @sopvop sopvop committed Jun 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Snap/Internal/Http/Types.hs
@@ -132,6 +132,7 @@ deleteHeader k = updateHeaders $ H.delete k
-- | Enumerates the HTTP method values (see
-- <http://tools.ietf.org/html/rfc2068.html#section-5.1.1>).
data Method = GET | HEAD | POST | PUT | DELETE | TRACE | OPTIONS | CONNECT
+ | PATCH | ExtMethod ByteString
deriving(Show,Read,Ord,Eq)

0 comments on commit 6b82c2c

Please sign in to comment.