def has_body(self, request):
        if 'transfer-encoding' in request.headers:
            return True
        elif request.content_length > 0:
            return True

        return False
Returns whether a Webob.Request object will possess an entity body.
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/common/wsgi.py/JSONRequestDeserializer.has_body