Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: cgi buffer flush

by cjf (Parson)
on Mar 09, 2002 at 10:48 UTC ( #150531=note: print w/replies, xml ) Need Help??

in reply to cgi buffer flush

Suffering from Buffering written by Dominus may be of some assistance to you.

I am also curious about print "Content-type: text/html\r\n\r\n"; - is this essentially the same as print "Content-type: text/html\n\n"; or is there some difference?

Update: io answered my question with regards to the header++

Replies are listed 'Best First'.
Re: Re: cgi buffer flush
by arc_of_descent (Hermit) on Mar 09, 2002 at 11:11 UTC
    Yes i had read that article before and i even read it once more, but unfortunately i don't know what to do next. I have tried all the possoible variations.
    I also did away with print statements and used syswrite instead which does no buffering.
    But still i don't get what i want.
    The script works perfectly on command line

    I'm not sure about the newlines and carriage returns in the Content-Type header.
    My guess is that any of them should do.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150531]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2021-10-24 19:17 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.