summaryrefslogtreecommitdiff
path: root/lib/net/http/generic_request.rb
diff options
context:
space:
mode:
-rw-r--r--lib/net/http/generic_request.rb3
1 files changed, 3 insertions, 0 deletions
@@ -89,6 +89,9 @@ class Net::HTTPGenericRequest
def set_body_internal(str) #:nodoc:
raise ArgumentError, "both of body argument and HTTPRequest#body set" if str and (@body or @body_stream)
self.body = str if str
end
#