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