Opened 12 years ago
Closed 12 years ago
#4148 closed defect (fixed)
WMS GetFeatureInfo has wrong content-type for info_format=application/vnd.ogc.gml
Reported by: | mko | Owned by: | schpidi |
---|---|---|---|
Priority: | normal | Milestone: | 6.2 release |
Component: | WMS Server | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | info_format |
Cc: | mko |
Description
A WMS GetFeatureInfo request with info_format=application/vnd.ogc.gml will response with Content-Type: text/xml in the Headers. Reffering to the WMS spec, the Content-Type shall be the MIME given with the info_format parameter. (WMS 1.1.1 §7.3.3.6, WMS 1.3.0 §7.4.3.5)
I'm unsure which Content-Type has to be set for info_format=GML and why MapServer sends Conent-Type: application/vnd.ogc.se_xml
for WMS 1.1.x.
Attachments (1)
Change History (3)
by , 12 years ago
Attachment: | info_format_gml.patch added |
---|
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I agree, Conent-Type should have the same value as the info_format parameter for which the allowed values are listed in Format elements in the GetFeatureInfo request description in the GetCapabilities response. Since we advertise application/vnd.ogc.gml this should also be the value of Content-Type.
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closing this ticket as the INSPIRE sandbox has been merged to trunk with r13214.
if content-type would always be application/vnd.ogc.gml