End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Net::HTTP#mkcol
mkcol(path, body = nil, initheader = nil)
lib/net/http.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/net/http.rb, line 1386
def mkcol(path, body = nil, initheader = nil)
request(Mkcol.new(path, initheader), body)
end
Sends a MKCOL request to the path and gets a response, as an HTTPResponse object.