Adding isPost and isGet methods to Request.