better POST detection