Closed th00ber closed 9 years ago
Hmm.. interesting, so is this happening in certain browsers, or do people have extensions running? Why set the response type to be so generic (application/octet-stream
) when you have content-disposition? Do you have a specific use case? Usually when I've wanted this specific functionally I'll just proxy my Ogre server and add on the content-disposition headers.
If discussion would still be had, please reopen. Code base has changed a bit so closing this pull regardless.
In POST parameter, if "responseType" is not set = standard "application/json" response. If it is set to "download" the response is "application/octet-stream" to force webbrowser to download the GeoJson (output file name is based on the input file name submitted)