Summary: | XML response without Content-Type triggers strange download behavior | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yuen Ho Wong <wyuenho> | ||||
Component: | XML | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | UNCONFIRMED --- | ||||||
Severity: | Normal | CC: | grant_gayed, mrowe | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Yuen Ho Wong
2008-04-24 19:23:16 PDT
Can you please provide a test case that demonstrates this issue? Which version of WebKit does the problem occur with? Created attachment 20805 [details]
Test war file
This problem exists on Safari 3.1.1 and the latest Webkit nightly build. I've supplied a JavaEE war file for the test. Just drop the file under the webapps directory under a vanilla Tomcat 5.5 and start the server by invoking "bin/catalina.sh start" and then just fire up Safari to browse to http://localhost:8080/Test18727/. Can you possibly provide a web-accessible example? I doubt many WebKit developers know anything about working with Tomcat. I don't have a public server with Tomcat running that I can play with. The trick is to somehow generate a response header with no Content-Type, and that the data is XML. There may be some Apache tricks that can give you that but I'm not too familiar with Apache. Tomcat is simple, all you have to do is to download it from tomcat.apache.org, extract it, drop the war file under "webapps" and fire up the server by issuing "$TOMCAT_DIR/bin/catalina.sh start". When you are done, just issue "$TOMCAT_DIR/bin/catalina.sh stop" |