[Geoserver-devel] [JIRA] (GEOS-10841) Download GeoJson output instead of showing it in the browser

Juan Luis Rodríguez created an issue

GeoServer / ImprovementGEOS-10841

Download GeoJson output instead of showing it in the browser

Issue Type:

ImprovementImprovement

Assignee:

Unassigned

Components:

WFS

Created:

26/Jan/23 11:13 AM

Environment:

Geoserver <= 2.22.1

Priority:

MediumMedium

Reporter:

Juan Luis Rodríguez

Sometimes the responses of the GetFeature operation of the WFS service are big. If the output format requested is GeoJSON currently the browser shows them instead of downloading the content. When the response is big enough it can crash the browser.

This is caused because the server is sending the Content-Disposition: inline; filename=xxxxx.zzz header instead of Content-Disposition: attachment; filename=xxxxx.zzz.

Can the Content-Disposition header be changed to attachment for GeoJSON output?

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214-sha1:634fa42)

Atlassian logo