[Server] Also read data for PATCH requests

This commit is contained in:
Sandro Mani 2025-07-17 15:04:46 +02:00 committed by github-actions[bot]
parent eb967785ae
commit 8f254e3cd9

View File

@ -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" );
}
}