[Geoserver-devel] content-type of GetFeature result with resultType=hits

Hey,

Just found out that the response content type of a GetFeature request
with resultType=hits is 'text/xml' instead of 'text/xml;
subtype=gml/xyz'

Is that ok? sorry haven't took the job of looking for the answer in
the spec myself.

Cheers,
Gabriel

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

I don’t think that was done for a reason no, text/xml is the default for wfs output formats and i am sure it was just a matter of never overriding it. Feel free to change as you see fit.

On Wed, Feb 1, 2012 at 9:37 PM, Gabriel Roldan <groldan@anonymised.com> wrote:

Hey,

Just found out that the response content type of a GetFeature request
with resultType=hits is ‘text/xml’ instead of ‘text/xml;
subtype=gml/xyz’

Is that ok? sorry haven’t took the job of looking for the answer in
the spec myself.

Cheers,
Gabriel


Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.


Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.