I need to open a *.bat file in a popup window. The way i do that is i open the popup window, which has a url set to the action of the downloading service.
The downloading service returns the following headers:
192.168.000.195.08080-192.168.000.201.52131: HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Disposition: inline; filename="version.bat"
Content-Type: text/plain
Content-Encoding: gzip
Vary: Accept-Encoding
Date: Tue, 11 Aug 2009 14:54:09 GMT
Connection: close
At this point, all browsers that arent IE display the bat in the popup window, while IE 7 closes the popup immediately!
Question: what content-type should i return in order for IE to open the bat file in the popup (not present a download prompt)