summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/wsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py
index 1a33b7744..bd91aed60 100644
--- a/nova/api/openstack/wsgi.py
+++ b/nova/api/openstack/wsgi.py
@@ -52,7 +52,7 @@ class Request(webob.Request):
content_type = self.content_type
if content_type not in allowed_types:
- raise exception.InvalidContentType(content_type=content_type)
+ return None
else:
return content_type