Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Clever autoflush detail

by eric256 (Parson)
on Jun 20, 2007 at 19:52 UTC ( [id://622377]=note: print w/replies, xml ) Need Help??


in reply to Autoflush and web browsers (was: Clever autoflush detail)

Changing just the content type in your first makes it work as well with no pre tags.

In fact if i try your sh script with text/plain it waits and shows them all together, but if i change it to text/html it displays them immediatly. So in both cases it only buffers/caches text/plain for me and text/html works. I would guess then that the problem lies either with the webserver or the web browser.


___________
Eric Hodges

Replies are listed 'Best First'.
Re^2: Clever autoflush detail
by talexb (Chancellor) on Jun 20, 2007 at 20:46 UTC

    Well, I tried three of the combinations of (using CGI|not using CGI) and content type (text/html|text/plain):

    CGI no CGI
    text/html Worked fine using PRE tags. (not tried)
    text/plain Did not work -- buffered all output!! Worked fine.

    I had a look at the CGI source code, and there didn't seem to be anything that talked about ignoring $|, but I will admit I only had a quick look at this Serious Collection of Magic.

    In any case, I have a workaround that works (no CGI, text/plain content type) and I'll communicate that back to my client.

    But if someone can find out if this deep magic really is happening in CGI, I'd be fascinated to hear about it.

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found