Improved Request object

Added methods to check the request type