Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Cleaning wfs service
- Loading branch information
Showing
with
3 additions
and
3 deletions.
-
+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" ), |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.