Re: Question: Package HTTP (Message.pm)

Christoph Wernli (cwernli@dwc.ch)
Fri, 3 Oct 1997 11:27:56 -6000


On Thu, 2 Oct 1997, JIANG Wei wrote:

> When I launched the script under a Unix shell, no problem. But 
> invoquing the script under a GET request under Netscape produce
> at the end of the return HTML page an unexpected error: 
>    '500 Bad header argument'.

Dou you generate any http-headers ? - If not, preceed your output at 
least with the following line:

print "Content-Type: text/html\n\n";

Cheers, -werns