method
set_body_internal
set_body_internal(str)
public
Hide source
# File lib/net/http.rb, line 1522 def set_body_internal(str) #:nodoc: internal use only raise ArgumentError, "both of body argument and HTTPRequest#body set" if str and (@body or @body_stream) self.body = str if str end