~ubuntu-branches/ubuntu/edgy/libapache2-mod-perl2/edgy

« back to all changes in this revision

Viewing changes to ModPerl-Registry/t/cgi-bin/bin_resp_start_0.pl

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2004-08-19 06:23:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040819062348-jxl4koqbtvgm8v2t
Tags: 1.99.14-4
Remove the LFS CFLAGS, and build-dep against apache2-*-dev (>= 2.0.50-10)
as we're backing out of the apache2/apr ABI transition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl -w
 
2
 
 
3
use strict;
 
4
use warnings FATAL => 'all';
 
5
 
 
6
# favicon.ico and other .ico image/x-icon images start with this sequence
 
7
my $response = "\000\000\001\000";
 
8
 
 
9
# test here that the cgi header parser doesn't get confused and decide
 
10
# that there is no response body if it starts with \000 sequence
 
11
 
 
12
print "Content-type: image/x-icon\n\n";
 
13
print $response;