diff options
Diffstat (limited to 'lib/open-uri.rb')
-rw-r--r-- | lib/open-uri.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 1ccb4f2614..56c78f0468 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -125,9 +125,6 @@ module OpenURI options = rest.shift if !rest.empty? && Hash === rest.first raise ArgumentError.new("extra arguments") if !rest.empty? options ||= {} - if uri.user and uri.password and not options[:http_basic_authentication] - options[:http_basic_authentication] = [uri.user,uri.password] - end OpenURI.check_options(options) unless mode == nil || |