Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: cgi buffer flush

by cjf (Parson)
on Mar 09, 2002 at 10:48 UTC ( [id://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.

    --
    arc_of_descent

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found