But the browsers treats the result in different ways, for instance safari
downloads a file called wms.kml, firefox 3 and explorer 7 a file called wms
without the file extension and opera displays the content of the file to the
screen. This causes that the user must rename the file to view it on google
earth or change the configuration of his browser(for opera).
I think this depend by the http header of the response.
Is there something I can do to make the downloaded to have a name like
"layername.kml"?
But the browsers treats the result in different ways, for instance safari
downloads a file called wms.kml, firefox 3 and explorer 7 a file called wms
without the file extension and opera displays the content of the file to the
screen. This causes that the user must rename the file to view it on google
earth or change the configuration of his browser(for opera).
I think this depend by the http header of the response.
Is there something I can do to make the downloaded to have a name like
"layername.kml"?
Mumble, we should be setting that header all right... there is
a jira issue open about that problem that has been recently fixed: http://jira.codehaus.org/browse/GEOS-1694
It seems it has been fixed by 1.7.0-RC1, and in fact I can confirm
that hitting GeoServer 1.7.0-RC2 returns the proper http headers
and the file gets saved with a nice name.
Not sure whether it has been fixed in the 1.6.x series thought,
apparently not? This would mean the upcoming 1.6.5 release won't
have this fix