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

On Sep 27, 2:14 am, Mozmonkey <[EMAIL PROTECTED]> wrote:
> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to