(bug 45017) Check whether this request is a POST before allowing a query module to run, if required by the query module

Change-Id: Ie08fd3a887390e2ead6f6d6fe1e16fa8f8617a2c
Merge "(bug 45017) Check whether this request is a POST before allowing a query module to run, if required by the query module"