Skip to content
Permalink
Browse files

Cleaning wfs service

  • Loading branch information
pblottiere committed Jul 2, 2018
1 parent a904056 commit acc2055820f0fa6e9b690a9f493e79197839f8f5
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/server/services/wfs/qgswfs.cpp
@@ -64,17 +64,17 @@ namespace QgsWfs
void executeRequest( const QgsServerRequest &request, QgsServerResponse &response,
const QgsProject *project ) override
{
QgsServerRequest::Parameters params = request.parameters();
QString versionString = params.value( "VERSION" );
const QgsWfsParameters params( QUrlQuery( request.url() ) );

// Set the default version
QString versionString = params.version();
if ( versionString.isEmpty() )
{
versionString = version(); // defined in qgswfsutils.h
}

// Get the request
QString req = params.value( QStringLiteral( "REQUEST" ) );
const QString req = params.request();
if ( req.isEmpty() )
{
throw QgsServiceException( QStringLiteral( "OperationNotSupported" ),

0 comments on commit acc2055

Please sign in to comment.
You can’t perform that action at this time.