W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1997

Re: Follow up on multipart/x-mixed-replace

From: Nirmalkumar - Patil <npatil@cs.tamu.edu>
Date: Mon, 4 Aug 1997 10:22:37 -0500 (CDT)
Message-Id: <199708041522.KAA00137@dilbert.cs.tamu.edu>
To: abaird@w3.org
Cc: www-jigsaw@w3.org
> 
> npatil@cs.tamu.edu writes:
>  > 
>  > Hi
>  > 
>  > I wrote the following piece to implement the multipart/x-mixed-replace
>  > MIME type.  It appears that everything is being written onto the 
>  > socket connection fine but Netscape is not able to interpret whatever
>  > is received...
>  > 
>  > Can anyone tell me where I am going wrong here.
> 
> It would be cool to actually get the output generated by your
> resource. Also, instead of client.getOutputStream, you should rather
> use request.getOutputStream, and set your reply status code to
> HTTP.DONE (that's a trick to tell the Jigsaw engine that you have
> generated the output)
> 
> Anselm.
> 

The output generated is as follows:
( I did a telnet to the web server to obtain one  ... there is a sleep of
1.5 secs in between in each of the individual replies. )

dilbert:~>telnet dexman.cs.tamu.edu 8001
Trying 128.194.133.212...
Connected to dexman.cs.tamu.edu.
Escape character is '^]'.
GET /User/jigtest4 HTTP/1.0
User-Agent: None

HTTP/1.0 200 OK
Date: Mon, 04 Aug 1997 15:21:29 GMT
Content-Type: multipart/x-mixed-replace;boundary=somebdry
Server: Jigsaw/1.0a5

--somebdry
Content-Type: text/plain 

I am testing !! 1

--somebdry

Content-Type: text/plain 

I am testing !! 2

--somebdry

Content-Type: text/plain 

I am testing !! 3

--somebdry

Content-Type: text/plain 

I am testing !! 4

--somebdry
..... etc in an infinite loop. ....
Received on Monday, 4 August 1997 11:24:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT