why multipart/x-mixed-replace is needed for Comet?

Posted by Morgan Cheng on Stack Overflow See other posts from Stack Overflow or by Morgan Cheng
Published on 2010-03-19T11:23:06Z Indexed on 2010/03/19 11:51 UTC
Read the original article Hit count: 213

Filed under:
|
|

I'm reading this article about Comet http://en.wikipedia.org/wiki/Comet_(programming). It mentions that browser should support multipart/x-mixed-replace to make XmlHttpRequest Streaming possible.

Why this multipart/x-mixed-replace is necessary?

Without this header, HTTP response can still be chunked and sent piece by piece to browser, right?

© Stack Overflow or respective owner

Related posts about comet

Related posts about http