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