Juan Luis Rodríguez ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4035449b-7cf4-43e6-bd60-7307baca06d9
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYzdhNWIwNjcwNzdjNGQ0MThmZWY1YWU5MjJmZDk3ZDUiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10841?atlOrigin=eyJpIjoiYzdhNWIwNjcwNzdjNGQ0MThmZWY1YWU5MjJmZDk3ZDUiLCJwIjoiaiJ9
 ) GEOS-10841 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10841?atlOrigin=eyJpIjoiYzdhNWIwNjcwNzdjNGQ0MThmZWY1YWU5MjJmZDk3ZDUiLCJwIjoiaiJ9
 ) Download GeoJson output instead of showing it in the browser ( 
https://osgeo-org.atlassian.net/browse/GEOS-10841?atlOrigin=eyJpIjoiYzdhNWIwNjcwNzdjNGQ0MThmZWY1YWU5MjJmZDk3ZDUiLCJwIjoiaiJ9
 )

Issue Type: Improvement Assignee: Unassigned Components: WFS Created: 26/Jan/23 
11:13 AM Environment:

Geoserver <= 2.22.1

Priority: Medium Reporter: Juan Luis Rodríguez ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A4035449b-7cf4-43e6-bd60-7307baca06d9
 )

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?

( 
https://osgeo-org.atlassian.net/browse/GEOS-10841#add-comment?atlOrigin=eyJpIjoiYzdhNWIwNjcwNzdjNGQ0MThmZWY1YWU5MjJmZDk3ZDUiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10841#add-comment?atlOrigin=eyJpIjoiYzdhNWIwNjcwNzdjNGQ0MThmZWY1YWU5MjJmZDk3ZDUiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- 
sha1:634fa42 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to