Skip to content

Commit

Permalink
WMS 1.3.0 compliance: exception format must be advertized as 'XML', n…
Browse files Browse the repository at this point in the history
…ot 'text/xml'
  • Loading branch information
mhugent authored and rldhont committed Dec 12, 2016
1 parent f1cfd0c commit 8ba3299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswmsserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ QDomDocument QgsWMSServer::getCapabilities( QString version, bool fullProjectInf

//wms:GetCapabilities
elem = doc.createElement( "GetCapabilities"/*wms:GetCapabilities*/ );
appendFormats( doc, elem, QStringList() << ( version == "1.1.1" ? "application/vnd.ogc.wms_xml" : "text/xml" ) );
appendFormats( doc, elem, QStringList() << ( version == "1.1.1" ? "application/vnd.ogc.wms_xml" : "XML" ) );
elem.appendChild( dcpTypeElement );
requestElement.appendChild( elem );

Expand Down

0 comments on commit 8ba3299

Please sign in to comment.