hacks for http streaming

When working on Comet solutions, the sooner or later you have to do some browser hacks… When doing http streaming for the “push”, it is common to use an iframe as the source of the streaming conent. On the server you render the “update data”, when ever it is present. The browser is basically doing an incrementally rendering.

This works so far in most of the browsers, like Firefox2, IE7 or the latest greatest (-> nightly) WebKit. But not on Safari 3.2.1 or Google Chrome. To make them happy, I had to make the response a bit longer, by adding some bogus extra HTML…



Posted in ajax, Chrome, comet, web²

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: