Unquoded subtype=gml/<version> breaks HTTP/1.1 standard
-------------------------------------------------------
Key: GEOS-4011
URL: http://jira.codehaus.org/browse/GEOS-4011
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 2.0.2
Environment: CentOS 5.4, Tomcat 6.0.26, httpd-2.2.3-43.el5.centos, mod_jk-1.2.30, jre1.6.0_20
Reporter: Richard Guest
Assignee: Andrea Aime
When requesting GML from the WFS, the HTTP response Content-Type is set to:
{quote}Content-Type: application/xml; {color:red}subtype=gml/2.1.2{color}{quote}
According to RFC2616 HTTP/1.1 [secion 3.7|http://tools.ietf.org/html/rfc2616#section-3.7] and [section 2.2|http://tools.ietf.org/html/rfc2616#section-2.2], the '/' char in the subtype token is illegal and breaks RFC compliant clients. To correctly comply the subtype token must be contained within a quoted string, for example:
{quote}Content-Type: application/xml; {color:red}subtype="gml/2.1.2"{color}{quote}
We discovered this issue after upgrading from 2.0.1 to 2.0.2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira