document the behaviour of processRequest