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
meta_setup_encoding if name == 'content-type'
end
def meta_add_field(name, value) # :nodoc:
meta_add_field2(name, [value])
end
# returns a Time that represents the Last-Modified field.
def last_modified
if vs = @metas['last-modified']
    (1-1/1)