How does PHP support server push? I was reading PHP4-1.1 source code, and noticed PHP_FUNCTION(header) (main/head.c) calls sapi_add_header_ex (main/SAPI.c) and thus calls sapi_apache_header_handler (sapi/apache/mod_php4.c), and that function puts a <HEADER_NAME>: <HEADER_CONTENT> into request_rec.headers_out table.
So for a server push: Content-type: multipart/x-mixed-replace;boundary=--ThisRandomBoundary --ThisRandomBoundary Content-type: text/plain First Data --ThisRandomBoundary Content-type: text/plain Second Data --ThisRandomBoundary-- The function is going to put "Content-type: multipart/x-mixed-replace;boundary=--ThisRandomBoundary" into headers_out table. But what about the part below the first --ThisRandomBoundary? How does PHP internal handle/parse it? Thanks a lot (And if I post it to the wrong mailing list, please let me know) -- Wei Weng Network Software Engineer KenCast Inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php