summaryrefslogtreecommitdiffstats
path: root/nova/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/wsgi.py')
-rw-r--r--nova/wsgi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/wsgi.py b/nova/wsgi.py
index c3e08522d..2d18da8fb 100644
--- a/nova/wsgi.py
+++ b/nova/wsgi.py
@@ -85,7 +85,7 @@ class Server(object):
class Request(webob.Request):
- def best_match(self):
+ def best_match_content_type(self):
"""
Determine the most acceptable content-type based on the
query extension then the Accept header
@@ -354,7 +354,7 @@ class Controller(object):
result = method(**arg_dict)
if type(result) is dict:
- content_type = req.best_match()
+ content_type = req.best_match_content_type()
body = self._serialize(result, content_type)
response = webob.Response()