www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thuy Do <t...@starglobe.com>
Subject mod_negotiation/1545: Problem: got empty document when displaying gif content.
Date Wed, 10 Dec 1997 21:27:05 GMT

>Number:         1545
>Category:       mod_negotiation
>Synopsis:       Problem: got empty document when displaying gif content.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 10 13:30:01 PST 1997
>Last-Modified:
>Originator:     thuy@starglobe.com
>Organization:
apache
>Release:        1.3b2 for NT
>Environment:
OS: WindowsNT 4.0
Compiler: VC++ 5.0


>Description:
Sending the content of the gif file using the following perl source (
or even C program), I got an empty result document.  However, 
if I open the gif file directly under Netscape, it is OK.
>How-To-Repeat:
#!c:\perl\bin\perl

print "Content-type: image/gif\n\n"; 
open F, "c:/www/us/en/what1but.gif"; 
while (read F, $r, 16384) { print $r; } 
close F; 
exit 0;
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]




Mime
View raw message