I apologize if it''s bad to ask this on the Rails list as it is more of a general Ruby question, but since it came up here in a slightly different context recently, I was hoping to leverage any knowledge... Is there a WebDAV library/gem for Ruby? I''m not wanting to use it as a DB type for ActiveRecord like the other poster, but just do straight WebDAV (we''re using it as a file system for an app). Basically, something relatively equivalent to the Jakarta Slide client library. If not, I might just have to write it myself, but hoping to leverage something existing... -- Chris Bailey Code Intensity mailto: chris-yzaz/rx7IpEXSVZzYpeOkQC/G2K4zDHf@public.gmane.org
There''s nothing that I could find. I was planning on abstracting the data storage part of it so you could use the filesystem or whatever. You''d need to do that for access control as well. The way that webrick is currently setup I don''t think you can get to the request method in an obvious way, but that should be straight forward to extend. -w On Apr 7, 2005 7:35 PM, Christopher Bailey <chris-yzaz/rx7IpEXSVZzYpeOkQC/G2K4zDHf@public.gmane.org> wrote:> I apologize if it''s bad to ask this on the Rails list as it is more of a > general Ruby question, but since it came up here in a slightly different > context recently, I was hoping to leverage any knowledge... > > Is there a WebDAV library/gem for Ruby? I''m not wanting to use it as a DB > type for ActiveRecord like the other poster, but just do straight WebDAV > (we''re using it as a file system for an app). Basically, something > relatively equivalent to the Jakarta Slide client library. If not, I might > just have to write it myself, but hoping to leverage something existing... > > -- > Chris Bailey > Code Intensity > mailto: chris-yzaz/rx7IpEXSVZzYpeOkQC/G2K4zDHf@public.gmane.org > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Will Schenk http://www.sublimeguile.com http://www.myelinate.com
So what is the limitations with webrick passing off HTTP_METHODs besides GET/POST? Does the dispatcher just need to be changed or is it just not possible? On Apr 8, 2005 11:14 AM, Will Schenk <wschenk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> There''s nothing that I could find. I was planning on abstracting the > data storage part of it so you could use the filesystem or whatever. > You''d need to do that for access control as well. The way that > webrick is currently setup I don''t think you can get to the request > method in an obvious way, but that should be straight forward to > extend. > > -w > > On Apr 7, 2005 7:35 PM, Christopher Bailey <chris-yzaz/rx7IpEXSVZzYpeOkQC/G2K4zDHf@public.gmane.org> wrote: > > I apologize if it''s bad to ask this on the Rails list as it is more of a > > general Ruby question, but since it came up here in a slightly different > > context recently, I was hoping to leverage any knowledge... > > > > Is there a WebDAV library/gem for Ruby? I''m not wanting to use it as a DB > > type for ActiveRecord like the other poster, but just do straight WebDAV > > (we''re using it as a file system for an app). Basically, something > > relatively equivalent to the Jakarta Slide client library. If not, I might > > just have to write it myself, but hoping to leverage something existing... > > > > -- > > Chris Bailey > > Code Intensity > > mailto: chris-yzaz/rx7IpEXSVZzYpeOkQC/G2K4zDHf@public.gmane.org > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -- > Will Schenk > http://www.sublimeguile.com > http://www.myelinate.com > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Nevermind, found the problem in webrick_server.rb. I''ll write patch over weekend and submit. On Apr 8, 2005 3:10 PM, Josh Knowles <joshknowles-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> So what is the limitations with webrick passing off HTTP_METHODs > besides GET/POST? Does the dispatcher just need to be changed or is > it just not possible? > > On Apr 8, 2005 11:14 AM, Will Schenk <wschenk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > There''s nothing that I could find. I was planning on abstracting the > > data storage part of it so you could use the filesystem or whatever. > > You''d need to do that for access control as well. The way that > > webrick is currently setup I don''t think you can get to the request > > method in an obvious way, but that should be straight forward to > > extend. > > > > -w > > > > On Apr 7, 2005 7:35 PM, Christopher Bailey <chris-yzaz/rx7IpEXSVZzYpeOkQC/G2K4zDHf@public.gmane.org> wrote: > > > I apologize if it''s bad to ask this on the Rails list as it is more of a > > > general Ruby question, but since it came up here in a slightly different > > > context recently, I was hoping to leverage any knowledge... > > > > > > Is there a WebDAV library/gem for Ruby? I''m not wanting to use it as a DB > > > type for ActiveRecord like the other poster, but just do straight WebDAV > > > (we''re using it as a file system for an app). Basically, something > > > relatively equivalent to the Jakarta Slide client library. If not, I might > > > just have to write it myself, but hoping to leverage something existing... > > > > > > -- > > > Chris Bailey > > > Code Intensity > > > mailto: chris-yzaz/rx7IpEXSVZzYpeOkQC/G2K4zDHf@public.gmane.org > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > -- > > Will Schenk > > http://www.sublimeguile.com > > http://www.myelinate.com > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > >