File: 010-doc-no-more-send_http_header.patch

package info (click to toggle)
libapache2-mod-perl2 2.0.9~1624218-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 11,840 kB
  • sloc: perl: 95,064; ansic: 14,522; makefile: 49; sh: 18
file content (18 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Damyan Ivanov <dmn@debian.org>
Description: Can't locate object method "send_http_header"
 Trivial patch to remove a stale reference to send_http_header that is no
 longer available or necessary
Last-Update: 2011-03-22
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507821
Forwarded: yes
Reviewed-by: Nicholas Bamber <nicholas@periapt.co.uk>
--- a/docs/api/ModPerl/Registry.pod
+++ b/docs/api/ModPerl/Registry.pod
@@ -31,7 +31,6 @@ For example:
 
   my $r = Apache2::RequestUtil->request;
   $r->content_type("text/html");
-  $r->send_http_header;
   $r->print("mod_perl rules!");
 
 XXX: STOPPED here. Below is the old Apache::Registry document which I