method

supply_default_content_type

ruby latest stable - Class: Net::HTTPGenericRequest
supply_default_content_type()
private

No documentation available.

# File lib/net/http/generic_request.rb, line 300
  def supply_default_content_type
    return if content_type()
    warn 'net/http: Content-Type did not set; using application/x-www-form-urlencoded', uplevel: 1 if $VERBOSE
    set_content_type 'application/x-www-form-urlencoded'
  end