1. Net::
  2. HTTP::
  3. Proppatch

class Net::HTTP::Proppatch

Class for representingWebDAV method PROPPATCH:

require'net/http'uri =URI('http://example.com')hostname =uri.hostname# => "example.com"req =Net::HTTP::Proppatch.new(uri)# => #<Net::HTTP::Proppatch PROPPATCH>res =Net::HTTP.start(hostname)do|http|http.request(req)end

SeeRequest Headers.

Related: