'Returns a request with the data.  If the request class is not
specified :attr:`request_class` is used.
:param cls: The request wrapper to use.'

def get_request(self, cls=None):

    if (cls is None):
        cls = self.request_class
    return cls(self.get_environ())
