= private = protected
lock(path, body, initheader = nil)
Sends a LOCK request to the path and gets a response, as an HTTPResponse object.
# File lib/net/http.rb, line 1290 def lock(path, body, initheader = nil) request(Lock.new(path, initheader), body) end