(self, url=None, headers=None, **kwargs)
return request
Returns the parameters for requesting this `RemoteObject` instance
        as a dictionary of keyword arguments suitable for passing to
        `httplib2.Http.request()`.

        Optional parameter `headers` are also included in the request as HTTP
        headers. Other optional keyword parameters are also included as
        specified.
Returns the parameters for requesting this `RemoteObject` instance
        as a dictionary of keyword arguments suitable for passing to
        `httplib2.Http.request()`.
Returns the parameters for requesting this RemoteObject instance as a dictionary of keyword arguments suitable for passing to httplib2 . Http . request () .
def get_request(self, url=None, headers=None, **kwargs):
        """Returns the parameters for requesting this `RemoteObject` instance
        as a dictionary of keyword arguments suitable for passing to
        `httplib2.Http.request()`.

        Optional parameter `headers` are also included in the request as HTTP
        headers. Other optional keyword parameters are also included as
        specified.

        """
        if url is None:
            url = self._location
        if headers is None:
            headers = {}
        if 'accept' not in headers:
            headers['accept'] = ', '.join(self.content_types)

        # Use 'uri' because httplib2.request does.
        request = dict(uri=url, headers=headers)
        request.update(kwargs)
        return request
def get_request ( self , url = None , headers = None , * * kwargs ) : if url is None : url = self . _location if headers is None : headers = { } if 'accept' not in headers : headers [ 'accept' ] = ', ' . join ( self . content_types ) # Use 'uri' because httplib2.request does. request = dict ( uri = url , headers = headers ) request . update ( kwargs ) return request