(self, http=None, **kwargs)
return resp
Creates a new undelivered `PromisedResponse` instance that, when
        delivered, will contain the HTTP Response for the given object.
Creates a new undelivered `PromisedResponse` instance that, when
        delivered, will contain the HTTP Response for the given object.
Creates a new undelivered PromisedResponse instance that when delivered will contain the HTTP Response for the given object .
def head(self, http=None, **kwargs):
        """Creates a new undelivered `PromisedResponse` instance that, when
        delivered, will contain the HTTP Response for the given object."""

        resp = PromisedResponse({})
        resp._delivered = False
        resp._location = self._location
        resp._http = http
        resp._method = 'HEAD'
        return resp
def head ( self , http = None , * * kwargs ) : resp = PromisedResponse ( { } ) resp . _delivered = False resp . _location = self . _location resp . _http = http resp . _method = 'HEAD' return resp