Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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.

    --
    arc_of_descent

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2021-03-04 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (107 votes). Check out past polls.

    Notices?