class Net::HTTP::Propfind
Class for representingWebDAV method PROPFIND:
require'net/http'uri =URI('http://example.com')hostname =uri.hostname# => "example.com"req =Net::HTTP::Propfind.new(uri)# => #<Net::HTTP::Propfind PROPFIND>res =Net::HTTP.start(hostname)do|http|http.request(req)end
SeeRequest Headers.
Related:
Net::HTTP#propfind: sendsPROPFINDrequest, returns response object.