[Geoserver-devel] [jira] (GEOS-6015) GeoJSON uses wrong mime type

Jonathan Moules created BugGEOS-6015
GeoJSON uses wrong mime type

Issue Type:

BugBug

Affects Versions:

2.4-RC1

Assignee:

Andrea Aime

Components:

WFS

Created:

04/Sep/13 5:59 AM

Description:

GeoJSON returns a MIME type of “json”. It should be “application/json” - https://tools.ietf.org/html/rfc4627

I note there is a “outputFormat=application/json” option which allows the user to force it to be JSON, however this doesn’t seem to be the default. I believe it should be.

This can cause some issues for JS libraries and browsers.

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)