Project

General

Profile

Bug #9051 ยป 0001-removing-meta_add_field-breaks-stuff.patch

eweb (Eamonn Webster), 10/24/2013 09:43 PM

View differences:

lib/open-uri.rb
462 462
      meta_setup_encoding if name == 'content-type'
463 463
    end
464 464

  
465
    def meta_add_field(name, value) # :nodoc:
466
      meta_add_field2(name, [value])
467
    end
468

  
465 469
    # returns a Time that represents the Last-Modified field.
466 470
    def last_modified
467 471
      if vs = @metas['last-modified']
468
-