mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
[Server] Also read data for PATCH requests
This commit is contained in:
parent
eb967785ae
commit
8f254e3cd9
@ -98,9 +98,9 @@ QgsFcgiServerRequest::QgsFcgiServerRequest()
|
||||
}
|
||||
}
|
||||
|
||||
if ( method == PostMethod || method == PutMethod )
|
||||
if ( method == PostMethod || method == PutMethod || method == PatchMethod )
|
||||
{
|
||||
// Get post/put data
|
||||
// Get post/put/patch data
|
||||
readData();
|
||||
}
|
||||
|
||||
@ -218,7 +218,7 @@ void QgsFcgiServerRequest::readData()
|
||||
}
|
||||
else
|
||||
{
|
||||
QgsMessageLog::logMessage( "fcgi: No POST data" );
|
||||
QgsMessageLog::logMessage( "fcgi: No POST/PUT/PATCH data" );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user