Hi list,
I've been debugging an issue the last few hours with parsing GML from Geoserver in Internet Explorer. IE would just hang with 99% CPU. Things would work fine with GS 1.7.
The problem is that GS 2.0 seems to have added a subtype to the content-type, and IE is not liking it at all.
Headers from GS 2.0:
< HTTP/1.1 200 OK
< Date: Thu, 12 Aug 2010 09:25:15 GMT
< Content-Type: text/xml; subtype=gml/2.1.2
< Connection: close
< Transfer-Encoding: chunked
Headers from GS 1.7:
< HTTP/1.1 200 OK
< Date: Thu, 12 Aug 2010 17:33:44 GMT
< Content-Type: text/xml
< Connection: close
< Transfer-Encoding: chunked
Can the content-type be configured in Geoserver, or is the only way to solve this to override the content-type in my application proxy (which works successfully btw)? TIA.
Best regards,
Bart
--
Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html
Bart van den Eijnden
OSGIS
bartvde@anonymised.com
Hi Bart,
Interesting. Using a subtype is mandated by the wfs specification unfortunately. So our hands are sort of tied there. We could potentially add a configuration option that would strip out any subtypes in the content-type header though. Would be easy enough but of course we would have to disable it for cite tests 
What do others think?
-Justin
On Thu, Aug 12, 2010 at 3:36 AM, Bart van den Eijnden <bartvde@anonymised.com> wrote:
Hi list,
I’ve been debugging an issue the last few hours with parsing GML from Geoserver in Internet Explorer. IE would just hang with 99% CPU. Things would work fine with GS 1.7.
The problem is that GS 2.0 seems to have added a subtype to the content-type, and IE is not liking it at all.
Headers from GS 2.0:
< HTTP/1.1 200 OK
< Date: Thu, 12 Aug 2010 09:25:15 GMT
< Content-Type: text/xml; subtype=gml/2.1.2
< Connection: close
< Transfer-Encoding: chunked
Headers from GS 1.7:
< HTTP/1.1 200 OK
< Date: Thu, 12 Aug 2010 17:33:44 GMT
< Content-Type: text/xml
< Connection: close
< Transfer-Encoding: chunked
Can the content-type be configured in Geoserver, or is the only way to solve this to override the content-type in my application proxy (which works successfully btw)? TIA.
Best regards,
Bart
–
Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html
Bart van den Eijnden
OSGIS
bartvde@anonymised.com
This SF.net email is sponsored by
Make an app they can’t live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.