Patch #1095362: replace hardcoded test for POST/GET with call to get_method,
removing some duplication and gaining some flexibility in the process.
J
Johannes Gijsbers committed
cdd625a77067e226a5dc715d1892f9511a067391
Parent: 2abe785