Skip to content

Commit

Permalink
Clear executeRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 9, 2021
1 parent 6b31d12 commit 9d1a124
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/server/services/wms/qgswms.cpp
Expand Up @@ -91,6 +91,8 @@ namespace QgsWms

// Get the request
const QString req = parameters.request();
const QString version = parameters.version();

if ( req.isEmpty() )
{
throw QgsServiceException( QgsServiceException::OGC_OperationNotSupported,
Expand All @@ -106,8 +108,7 @@ namespace QgsWms
else if ( QSTR_COMPARE( req, "GetProjectSettings" ) )
{
//getProjectSettings extends WMS 1.3.0 capabilities
version = QStringLiteral( "1.3.0" );
writeGetCapabilities( mServerIface, project, version, request, response, true );
writeGetCapabilities( mServerIface, project, QStringLiteral( "1.3.0" ), request, response, true );
}
else if ( QSTR_COMPARE( req, "GetMap" ) )
{
Expand Down

0 comments on commit 9d1a124

Please sign in to comment.