refactors request-page POST handling.