Merge pull request #50 from centromere/put-fix
Fixed problem with put sending POST
commit30eca3d8f7311f43474f7f3f712aacaa6a99c4d9
authorChris Allen <cma@bitemyapp.com>
dateFri 17 Jul 2015, 11:03 (11 years ago)
parent1db8ad794687ea
src/Database/Bloodhound/Client.hs+1−1
@@ -200,7 +200,7 @@ get = flip (dispatch NHTM.methodGet) Nothing
200200head :: MonadBH m => Text -> m Reply
201201head = flip (dispatch NHTM.methodHead) Nothing
202202put :: MonadBH m => Text -> Maybe L.ByteString -> m Reply
203−put = dispatch NHTM.methodPost
203+put = dispatch NHTM.methodPut
204204post :: MonadBH m => Text -> Maybe L.ByteString -> m Reply
205205post = dispatch NHTM.methodPost
206206