Bug#507821: [mp2-docs-patch] Registry.pod still suggests $r->send_http_header

Damyan Ivanov dmn at debian.org
Thu Dec 4 20:48:22 UTC 2008


[please CC me or 507821 at bugs.debian.org on replies, thanks]

Hi,

Attached is a trivial patch that removes the reference of 
send_http_header from the following sample code in Registry.pod

     my $r = Apache2::RequestUtil->request;
     $r->content_type("text/html");
     $r->send_http_header;
     $r->print("mod_perl rules!");

In mod_perl2, send_http_header is not longer available (unless with 
Compat) nor necessary.

This was reported as Debian bug #507821[1] (cc-ed)

    [1] http://bugs.debian.org/507821


Thanks

-- 
dam            JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 010-doc-no-more-send_http_header.patch
Type: text/x-diff
Size: 443 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20081204/b19a9eaa/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20081204/b19a9eaa/attachment.pgp 


More information about the pkg-perl-maintainers mailing list