mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
WMS 1.3.0 compliance: exception format must be advertized as 'XML', not 'text/xml'
This commit is contained in:
parent
4659fd40d2
commit
2d36e1a351
@ -480,7 +480,7 @@ QDomDocument QgsWmsServer::getCapabilities( const QString& version, bool fullPro
|
||||
|
||||
//wms:GetCapabilities
|
||||
elem = doc.createElement( QStringLiteral( "GetCapabilities" )/*wms:GetCapabilities*/ );
|
||||
appendFormats( doc, elem, QStringList() << ( version == QLatin1String( "1.1.1" ) ? "application/vnd.ogc.wms_xml" : "text/xml" ) );
|
||||
appendFormats( doc, elem, QStringList() << ( version == QLatin1String( "1.1.1" ) ? "application/vnd.ogc.wms_xml" : "XML" ) );
|
||||
elem.appendChild( dcpTypeElement );
|
||||
requestElement.appendChild( elem );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user