APIdock / Ruby
/
Browse About
method

mkcol

v1_8_7_330 - Show latest stable - Class: Net::HTTP
mkcol(path, body = nil, initheader = nil)
public

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

# File lib/net/http.rb, line 912
    def mkcol(path, body = nil, initheader = nil)
      request(Mkcol.new(path, initheader), body)
    end

Related methods

  • Instance methods
  • active?
  • copy
  • delete
  • finish
  • get
  • get2
  • head
  • head2
  • inspect
  • lock
  • mkcol
  • move
  • options
  • peer_cert
  • post
  • post2
  • propfind
  • proppatch
  • proxy?
  • proxy_address
  • proxy_pass
  • proxy_port
  • proxy_user
  • proxyaddr
  • proxyport
  • put
  • put2
  • read_timeout=
  • request
  • request_get
  • request_head
  • request_post
  • request_put
  • send_request
  • set_debug_output
  • ssl_timeout
  • ssl_timeout=
  • start
  • started?
  • timeout=
  • trace
  • unlock
  • use_ssl
  • use_ssl=
  • use_ssl?
  • use_ssl?
  • Class methods
  • Proxy
  • default_port
  • get
  • get_print
  • get_response
  • http_default_port
  • https_default_port
  • new
  • new
  • post_form
  • proxy_class?
  • socket_type
  • ssl_context_accessor
  • start
  • version_1_1
  • version_1_1?
  • version_1_2
  • version_1_2?
  • Private methods
  • privateD
  • privateaddr_port
  • privatebegin_transport
  • privateconn_address
  • privateconn_port
  • privateconnect
  • privatedo_finish
  • privatedo_start
  • privateedit_path
  • privateend_transport
  • privatekeep_alive?
  • privateon_connect
APIdock API Documentation Browser

© 2026 APIdock