Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Re: CGI header doesn't like me

by bobn (Chaplain)
on Sep 10, 2003 at 00:40 UTC ( [id://290300]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Re: CGI header doesn't like me
in thread CGI header doesn't like me

what you have works on my system, using mozilla as the browser.

http requires a blank line after headers, before the actual content. On my system, print $cgi->header('text/plain'); does that. You should run your program from the command line to see that that is happening on your system.

On the other hand, the extra "\n" doesn't hurt anything.

--Bob Niederman, http://bob-n.com

All code given here is UNTESTED unless otherwise stated.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://290300]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.