# File lib/net/http.rb, line 870 def lock(path, body, initheader = nil) request(Lock.new(path, initheader), body) end