Hi List,

I am aware of GeoServer supporting the content-disposition=attachment 
query parameters to force file download within the browser. This works fine.

My case however is to try this from within OpenLayers using 
OpenLayers-generated WFS requests. These WFS POST requests use Ajax 
XMLHTTPRequest. Although content-disposition headers can be passed and 
are rewarded by GeoServer, as per the design of Ajax, a download is 
never triggered.

Question is if there is another way, maybe with non-standard requests to 
GeoServer via for example a HTTP form submit (sending WFS POST body as 
Content-Type:application/x-www-form-urlencoded)? I will first try if 
this can be done from GeoServer directly before resorting into 
proxy-based solutions.

Thanks for any suggestions,


--Just van den Broecke
www.justobjects.nl






------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to