diff options
Diffstat (limited to 'openstack/common/wsgi.py')
| -rw-r--r-- | openstack/common/wsgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/wsgi.py b/openstack/common/wsgi.py index 9e92ffe..d184963 100644 --- a/openstack/common/wsgi.py +++ b/openstack/common/wsgi.py @@ -659,7 +659,7 @@ class RequestDeserializer(object): return self.headers_deserializer.deserialize(request, action) def deserialize_body(self, request, action): - if not len(request.body) > 0: + if not request.body: LOG.debug(_("Empty body provided in request")) return {} |
