Update Request.class.php

Added public method() function for getting the HTTP request method.