class Gem::Net::HTTP::Propfind
Class for representing WebDAV method PROPFIND:
require 'rubygems/net-http/lib/net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Gem::Net::HTTP::Propfind.new(uri) # => #<Gem::Net::HTTP::Propfind PROPFIND> res = Gem::Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Related:
-
Gem::Net::HTTP#propfind
: sendsPROPFIND
request, returns response object.
Constants
- METHOD
- REQUEST_HAS_BODY
- RESPONSE_HAS_BODY