- From: Nirmalkumar - Patil <npatil@cs.tamu.edu>
- Date: Sat, 2 Aug 1997 00:10:11 -0500 (CDT)
- To: www-jigsaw@w3.org
Hello All, I am trying to have Jigsaw support the multipart/x-mixed-replace MIME type. In order to be able to do this, I tried to obtain a reference to the DataOutputStream and directly write to the underlying stream ... However I end up screwing the headers for the HTTP response.... How do I get a reference to the DataOutputStream after the headers have been written to the stream... so that i have only to write the delimiters and the data between these to the stream. is there a better or simpler way to do this ? Since I would like to sleep between segments of the mixed data... hence i don't see any other way rather than writing directly to the DataOutputStream to the client. ........................................................................ server push example from Netscape's homepage Content-type: multipart/x-mixed-replace;boundary=ThisRandomString --ThisRandomString Content-type: text/plain Data for the first object. // Sleep some interval --ThisRandomString Content-type: text/plain Data for the second and last object. --ThisRandomString-- ........................................................................ Would appreciate any comments/help. Thanks, Nirmal
Received on Saturday, 2 August 1997 01:12:23 UTC