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

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

am 04.12.2008 21:48:22 von Damyan Ivanov

--tyjMFqNw14br+l4O
Content-Type: multipart/mixed; boundary="qwWC3uIwaXcGNtT+"
Content-Disposition: inline


--qwWC3uIwaXcGNtT+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

Hi,

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

my $r =3D 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=20
Compat) nor necessary.

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

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


Thanks

--=20
dam JabberID: dam@jabber.minus273.org

--qwWC3uIwaXcGNtT+
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="010-doc-no-more-send_http_header.patch"
Content-Transfer-Encoding: quoted-printable

# Trivial patch to remove a stale reference to send_http_header that is no
# longer available or necessary
# Closes Debian #507821
--- a/docs/api/ModPerl/Registry.pod
+++ b/docs/api/ModPerl/Registry.pod
@@ -31,7 +31,6 @@ For example:
=20
my $r =3D Apache2::RequestUtil->request;
$r->content_type("text/html");
- $r->send_http_header;
$r->print("mod_perl rules!");
=20
XXX: STOPPED here. Below is the old Apache::Registry document which I

--qwWC3uIwaXcGNtT+--

--tyjMFqNw14br+l4O
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkk4QhYACgkQHqjlqpcl9jtGEQCfTVo7w/Wfzr9JkPpjNd0O u1SW
IxYAn2gxcG5OdDDv4Xx/+ru/xwWJfkrC
=VvRq
-----END PGP SIGNATURE-----

--tyjMFqNw14br+l4O--