# Teaching Mongrel other HTTP Methods (verbs)

**URL:** <https://www.ruby-forum.com/t/teaching-mongrel-other-http-methods-verbs/149651>\
**Category:** Rails\
**Created:** [September 27, 2008, 11:15am UTC](https://www.ruby-forum.com/t/teaching-mongrel-other-http-methods-verbs/149651 "2008-09-27T11:15:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mozmonkey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Post date:** [September 27, 2008, 11:15am UTC](https://www.ruby-forum.com/t/teaching-mongrel-other-http-methods-verbs/149651/1 "2008-09-27T11:15:16Z")

</div>

I’m trying to build a simple CalDav server in a Rails application but  
am running into a huge stumbling block. CalDav uses the HTTP protocol  
but has it’s own set of methods – for example, instead of GET it has  
a method called PROPFIND.

The problem is that Mongrel doesn’t like those methods and gives me  
the following error:

“/!\ FAILSAFE /!\ Sat Sep 27 02:09:15 -0700 2008  
Status: 500 Internal Server Error  
propfind, accepted HTTP methods are delete, head, get, options,  
post, and put”

Is there anyway to get around this and teach mongrel about the new  
methods?

Thanks,  
Jeremy

---

<div class="post-metadata">

**Author:** ![Mozmonkey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Post date:** [September 28, 2008, 4:00am UTC](https://www.ruby-forum.com/t/teaching-mongrel-other-http-methods-verbs/149651/2 "2008-09-28T04:00:47Z")

</div>

After some digging, I think I found a solution. To enable the  
“PROPFIND” method I added this to the ApplicationController in  
application.rb:

ActionController::ACCEPTED\_HTTP\_METHODS.merge( [“propfind”] )

- Jeremy
