From: "stomar (Marcus Stollsteimer)" <redmine@...>
Date: 2012-11-20T00:30:35+09:00
Subject: [ruby-core:49585] [ruby-trunk - Bug #7405][Open] Rdoc for CGI#header alias


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

----------------------------------------
Bug #7405: Rdoc for CGI#header alias
https://bugs.ruby-lang.org/issues/7405

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/