[mashup-dev] [jira] Commented: (MASHUP-72) ?stub tries to downolad
the file instead of displaying it in the browser when IE 7 is used
Jonathan Marsh (JIRA)
jira at wso2.org
Thu Jun 7 09:16:16 PDT 2007
[ http://www.wso2.org/jira/browse/MASHUP-72?page=comments#action_11146 ]
Jonathan Marsh commented on MASHUP-72:
--------------------------------------
This is the normal response of IE to a file of type application/javascript (which is the correct media type.)
This is somewhat annoying though - perhaps we can do something to moderate the pain:
1) we can add a "media-type" parameter to the ? processor to serve things up as a different media type. E.g.
http://localhost:9762/services/version?stub&media-type=text/plain
This may be useful for all ? resources.
2) we could browser sniff and set the media type (incorrectly) to text/plain for IE. (I find this rather distasteful.)
> ?stub tries to downolad the file instead of displaying it in the browser when IE 7 is used
> ------------------------------------------------------------------------------------------
>
> Key: MASHUP-72
> URL: http://www.wso2.org/jira/browse/MASHUP-72
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Affects Versions: Nightly
> Environment: winxp, IE7
> Reporter: Charitha Kankanamge
> Assigned To: Thilina Gunarathne
>
> ?stub does not show the stub code when issuing the url through IE 7. Instead it tries to download the file in to local machine. Note that the pop-up blockers were disabled while testing this.
> Steps to reproduce:
> ================
> 1. Enter ?stub url in IE 7 browser.
> 2. 'File Download' message box appears.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Mashup-dev
mailing list