method
put
put(path, data, initheader = nil)
public
Hide source
# File lib/net/http.rb, line 856 def put(path, data, initheader = nil) #:nodoc: res = request(Put.new(path, initheader), data) res.value unless @newimpl res end