/usr/share/perl5/HTML/Mason/Apache/Request.pm is in libhtml-mason-perl 1:1.58-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # -*- cperl-indent-level: 4; cperl-continued-brace-offset: -4; cperl-continued-statement-offset: 4 -*-
# Copyright (c) 1998-2005 by Jonathan Swartz. All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
package HTML::Mason::Apache::Request;
$HTML::Mason::Apache::Request::VERSION = '1.58';
use strict;
use warnings;
use base 'Apache::Request';
sub new
{
my $class = shift;
my $r = Apache::Request->instance(shift);
return bless { r => $r }, $class;
}
sub send_http_header
{
my $self = shift;
return if $self->notes('sent_http_header');
$self->SUPER::send_http_header(@_);
$self->notes( 'sent_http_header' => 1 );
}
1;
|