minor refactoring -- don't roll-our-own POST check