HTTP Verbs in Yesod Forms

The main function provided by the yesod-form library for processing form submissions is runFormPost . As the name implies, this function processes POST requests. But what if you want to use a different verb, like PUT ? The library is a little confusing in this way, because the post in runFormPost doesn’t actually refer to the HTTP method that triggered the execution of the handler code. The point…