adds should-redirect-after-post-to