Menu
According to a page about “HTTP Streaming”:
“The responseText property of XMLHttpRequest always contains the content that’s been flushed out of the server, even when the connection’s still open.”
So I want to open an HTTP connection to a page that continually spits out data, and every few seconds I want to read the last line that was spit out. But it apparently “only works on Firefox, whether XMLHTTPRequest or IFrame is used. In both cases, IE suppresses the response until its complete.”
Is that accurate? Is there any way in javascript to read the server’s response before the server finishes responding?