Input class: change behavior of get_post() method, add post_get() method

followup to PR #2522
5 files changed