Closed Bug 175936 Opened 22 years ago Closed 21 years ago

Multipart/mixed, containing image/gif, doesn't work

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: danielh, Assigned: darin.moz)

References

()

Details

User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.0.1) Gecko/20020919 IBM Web Browser for OS/2 Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.0.1) Gecko/20020919 IBM Web Browser for OS/2 Mozilla does not seem to understand how to display "server push" animation using a multipart/mixed content-type. The example above shows this. What is supposed to happen is a few lines of text (with a few seconds built-in delay between display of each line), followed by a set of several GIF images (that simulate an animated gif). Finally, a few lines of "goodbye" replace the image. Instead, with Mozilla, the first few lines are displayed, and then the first image... but then a The image “http://192.168.0.4/multsend?” cannot be displayed, because it contains errors. line is displayed. So perhaps the format of this multipart/mixed paylose is wrong, but .... it does work under netscape 4.6.1 Reproducible: Always Steps to Reproduce: 1. http://www.srehttp.org/multsend? 2.wait, no further user input required. 3. Actual Results: as described in the summary Expected Results: as described in the summary This behavior occurs under the SREhttp-GoServe for OS/2 web server, and under the SREhttp/2-SRE2002 web server. I've also tested this using: NetScape 4.7 for win98 (it works), NetScape 6.0 for win98 (doesn't recognize multipart/mixed) Opera 6.0 for win98 (ends, but only shows first image) IE 6.0 (downloads entire file, then asks for application to view with) If desired, I can email the full contents of the response (including response headers).
Reporter: The URL you reported may be doing something wrong? I see the image at the end, but no animation. Here's a working example of Multipart/x-mixed-replace ("Server Push") with GIF images: http://www.fortnet.org/FortNet/HTML/Presentation/animation/
Yes, the mixed-replace content at http://www.fortnet.org/FortNet/HTML/Presentation/animation/ does work. i)I noted that you are using a content-type (for the entire response) of multipart/x-mixed-replace rather then multipart/mixed So, on the script that was failing, I changed the content-type from multipart/mixed to multipart/x-mixed-replace. This changge did NOT help. 2) I can use a similar script to send multiple text files with no problem. The problem seems to occur when sending text files followed by gif file(s). 3) I also have detected a wierd anomaly when sending multiple image/gif responses. From watching my log, it appears that i) mozilla requests the script ii) the first image is sent iii) mozilla re-requests the script, but does NOT close the first connection iv) the instance of the script, launched in step 1, continues to send further images v) and, the instance of the script (launched in step iii) ALSO continues to send images Acutally, step iv ends after about 4 image; while step v completes as expected (a total of 7 images sent). You can try this out at http://srehttp2.srehttp.org:8080/b?
Daniel, neither your original URL nor the new one are available.
Component: Browser-General → Networking: HTTP
This testcase seems to be working better, although it doesn't work at all on IE... Is there still a problem?
OS: other → All
Hardware: PC → All
->default contacts
Assignee: asa → darin
QA Contact: asa → httpqa
xref bug 174692 -- possibly a dupe.
The testcase in the URL field worksforme with Mozilla windows build 2004041208.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.