Method: Net::HTTP#mkcol

Defined in:
lib/extensions/net-http/net/http.rb

#mkcol(path, body = nil, initheader = nil) ⇒ Object

Sends a MKCOL request to the path and gets a response, as an HTTPResponse object.



1066
1067
1068
# File 'lib/extensions/net-http/net/http.rb', line 1066

def mkcol(path, body = nil, initheader = nil)
  request(Mkcol.new(path, initheader), body)
end