Is Http Streaming Comet possible in Safari?

前端 未结 4 471
自闭症患者
自闭症患者 2020-12-31 12:52

By HTTP Streaming Comet, I mean the \"forever iframe\" / \"forever xhr\" variations that don\'t close the connection after data has been pushed from the server, as opposed t

4条回答
  •  臣服心动
    2020-12-31 13:51

    Yes.

    You need to include a large amount (at least 256 bytes) of junk at the front of the response in order to get Safari to behave.

提交回复
热议问题