Issue #7405 has been updated by stomar (Marcus Stollsteimer).


Will you commit your version?
----------------------------------------
Bug #7405: Rdoc for CGI#header alias
https://bugs.ruby-lang.org/issues/7405#change-33642

Author: stomar (Marcus Stollsteimer)
Status: Open
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: DOC
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-19 trunk 37712) [i686-linux]


=begin
CGI#header was only reintroduced as alias for CGI#http_header for compatibility reasons (see #7286), it's use for this purpose is deprecated. This should be made clear in the rdoc (patch provided):

    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.
=end



-- 
http://bugs.ruby-lang.org/