~jk0/nova/diagnostics-per-instance

« back to all changes in this revision

Viewing changes to nova/wsgi.py

  • Committer: Josh Kearney
  • Date: 2010-12-29 17:35:49 UTC
  • mfrom: (466.2.36 nova)
  • Revision ID: josh.kearney@rackspace.com-20101229173549-ql7crx0ujxu6v9i7
Merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
        needed to serialize a dictionary to that type.
271
271
        """
272
272
        self.metadata = metadata or {}
273
 
        req = webob.Request(environ)
 
273
        req = webob.Request.blank('', environ)
274
274
        suffix = req.path_info.split('.')[-1].lower()
275
275
        if suffix == 'json':
276
276
            self.handler = self._to_json