Skip to content

Commit f3672ed

Browse files
authored
Merge pull request #6 from bklaric/patch-1
Add PATCH handling to fromString
2 parents d1527cb + 6b7cfc1 commit f3672ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Data/HTTP/Method.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ fromString s =
8484
"MOVE" -> Left MOVE
8585
"LOCK" -> Left LOCK
8686
"UNLOCK" -> Left UNLOCK
87+
"PATCH" -> Left PATCH
8788
m -> Right (CustomMethod m)
8889

8990
print :: Either Method CustomMethod -> String

0 commit comments

Comments
 (0)