Skip to content

Commit 6b7cfc1

Browse files
authored
Add PATCH handling to fromString
1 parent d1527cb commit 6b7cfc1

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)