Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.2

Net::HTTP::Mkcol

Class for representing WebDAV method MKCOL:

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

Related:

Constants
No documentation available
No documentation available
No documentation available