From: "zzak (Zachary Scott)" Date: 2012-11-20T00:42:58+09:00 Subject: [ruby-core:49586] [ruby-trunk - Bug #7405] Rdoc for CGI#header alias Issue #7405 has been updated by zzak (Zachary Scott). =begin I like to avoid negatives as much as possible. (({This method is an alias for #http_header, when HTML5 tag maker is inactive.})) (({NOTE: use CGI#http_header to create HTTP header blocks, this alias is only provided for backwards compatibility.})) (({Using CGI#header with the HTML5 tag maker will create a
element.})) =end ---------------------------------------- Bug #7405: Rdoc for CGI#header alias https://bugs.ruby-lang.org/issues/7405#change-33100 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
element. =end -- http://bugs.ruby-lang.org/