Bug #15933 » ruby-changes.patch
lib/open-uri.rb | ||
---|---|---|
elsif block_given?
|
||
yield
|
||
elsif type && %r{\Atext/} =~ type &&
|
||
@base_uri && /\Ahttp\z/i =~ @base_uri.scheme
|
||
@base_uri && /\Ahttps?\z/i =~ @base_uri.scheme
|
||
"iso-8859-1" # RFC2616 3.7.1
|
||
else
|
||
nil
|