diff options
author | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-30 10:05:06 -0700 |
---|---|---|
committer | Justin Santa Barbara <justin@fathomdb.com> | 2011-03-30 10:05:06 -0700 |
commit | 12505c6bae61e72b6c75ac647323c3ec15997df1 (patch) | |
tree | 7124121132da14796ec92c0b2ca6b46634c81b57 /nova/wsgi.py | |
parent | 8a56ff7268b936a0b559e9a548cb587ff6aa5907 (diff) | |
download | nova-12505c6bae61e72b6c75ac647323c3ec15997df1.tar.gz nova-12505c6bae61e72b6c75ac647323c3ec15997df1.tar.xz nova-12505c6bae61e72b6c75ac647323c3ec15997df1.zip |
Add XML namespaces to the OpenStack API
Diffstat (limited to 'nova/wsgi.py')
-rw-r--r-- | nova/wsgi.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/nova/wsgi.py b/nova/wsgi.py index 1bcc08f7f..48502eebb 100644 --- a/nova/wsgi.py +++ b/nova/wsgi.py @@ -362,7 +362,6 @@ class Controller(object): response.headers["Content-Type"] = content_type response.body = body return response - else: return result @@ -391,11 +390,8 @@ class Controller(object): return serializer.deserialize(data, content_type) def get_default_xmlns(self, req): - # NOTE(justinsb): This doesn't really belong here.. - # We'll probably end up moving this into a new OpenstackApiController - # class or something like that, once we know what's going to happen - # with v1.1 - return 'http://docs.rackspacecloud.com/servers/api/v1.0' + """Provide the XML namespace to use if none is otherwise specified.""" + return None class Serializer(object): |