Project

General

Profile

Bug #7405 ยป rdoc_for_cgi_header_alias.patch

stomar (Marcus Stollsteimer), 11/20/2012 12:30 AM

View differences:

lib/cgi/core.rb (Arbeitskopie)
return buf
end
end # http_header()
# This method is an alias for #http_header, as long as the
# HTML5 tag maker is not used.
#
# NOTE: #header should no longer be used to create HTTP header
# blocks, the alias is provided only for backwards compatibility.
#
# With the HTML5 tag maker #header creates a <header> element.
alias :header :http_header
def _header_for_string(content_type) #:nodoc:
    (1-1/1)