2
use warnings FATAL => 'all';
4
# testing various binary responses
8
use Apache::TestRequest;
14
# favicon.ico and other .ico image/x-icon images start with
16
my $expected = "\000\000\001\000";
17
my $location = "/registry/bin_resp_start_0.pl";
18
#my $location = "/cgi-bin/bin_resp_start_0.pl";
20
my $received = GET_BODY_ASSERT $location;
24
ok t_cmp(length($expected), length($received), "image size");
26
t_debug "comparing the binary contents";
27
ok $expected eq $received;