Forum: Ruby on Rails WebDav on rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4d4523a6666680160cf8ca60494ceeb3?d=identicon&s=25 Moshe Bergman (Guest)
on 2006-05-24 11:56
(Received via mailing list)
I am trying to do webdav on rails. I already did it with PHP so it
should not be
much difference.

However I have some problems.

1) When Word sends PROPFIND it sends GET request with XML inside the
request
body.  However I cannot seem to get this information.

request.body returns no such method even though request.inspect shows
there is
instance variable called @body.

How can I access that?

2) Is there a way to send status code "207 Multi-Status" back?

If I do render :text => 'something', :status => '207 Multi-Status', it
still
remains as the number 207 only...
25bbc96d9c53647354cb724e744b2222?d=identicon&s=25 Greg Freemyer (Guest)
on 2006-05-24 14:37
(Received via mailing list)
On 5/24/06, Moshe Bergman <moshe@mbdev.net> wrote:
>
> remains as the number 207 only...
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

There was a thread on rcalendar list about WebDav.

You may find the below post useful?

http://rubyforge.org/pipermail/rcalendar-devs/2006...

Greg
4d4523a6666680160cf8ca60494ceeb3?d=identicon&s=25 Moshe Bergman (Guest)
on 2006-05-24 14:50
(Received via mailing list)
Thanks, but I already made the controller and
managed to get the PROPFIND and other request
methods.
This topic is locked and can not be replied to.