Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PATCH and extension methods

  • Loading branch information...
commit 6b82c2c155762f069f0d03a08473031771a0c19f 1 parent 821a71a
@sopvop sopvop authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/Snap/Internal/Http/Types.hs
View
1  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)
Please sign in to comment.
Something went wrong with that request. Please try again.