summaryrefslogtreecommitdiffstats
path: root/nova/wsgi.py
diff options
context:
space:
mode:
authorAndy Smith <code@term.ie>2011-01-04 12:57:18 -0800
committerAndy Smith <code@term.ie>2011-01-04 12:57:18 -0800
commitf1e423389e86954a3e143482b29ec6d37053e173 (patch)
tree913c91b13744095833b3ff17f668e0e8b19cac34 /nova/wsgi.py
parent8e1b74aa1c5a2f9113473eedc8e35b38b41445ea (diff)
parentdd1e36b9690a2c2de18c565c496b25295a13d0aa (diff)
downloadnova-f1e423389e86954a3e143482b29ec6d37053e173.tar.gz
nova-f1e423389e86954a3e143482b29ec6d37053e173.tar.xz
nova-f1e423389e86954a3e143482b29ec6d37053e173.zip
merged from trunk
Diffstat (limited to 'nova/wsgi.py')
-rw-r--r--nova/wsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/wsgi.py b/nova/wsgi.py
index 564805ae7..e940b3f8c 100644
--- a/nova/wsgi.py
+++ b/nova/wsgi.py
@@ -288,7 +288,7 @@ class Serializer(object):
needed to serialize a dictionary to that type.
"""
self.metadata = metadata or {}
- req = webob.Request(environ)
+ req = webob.Request.blank('', environ)
suffix = req.path_info.split('.')[-1].lower()
if suffix == 'json':
self.handler = self._to_json