Project

General

Profile

Actions

Bug #7405

closed

Rdoc for CGI#header alias

Added by stomar (Marcus Stollsteimer) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 2.0.0dev (2012-11-19 trunk 37712) [i686-linux]
Backport:
[ruby-core:49585]

Description

=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


Files

rdoc_for_cgi_header_alias.patch (624 Bytes) rdoc_for_cgi_header_alias.patch stomar (Marcus Stollsteimer), 11/20/2012 12:30 AM
Actions

Also available in: Atom PDF