Fix wsgiref py3 error
The wsgiref's behevior is changed under py3. Change-Id: I09a853a4e91b0ce9bfa656a8b94bc175a75576a6
This commit is contained in:
parent
6319cfa07f
commit
82c955ebf3
@ -34,6 +34,6 @@ class Resource(object):
|
||||
self.versions = utils.to_json(VERSIONS)
|
||||
|
||||
def on_get(self, req, resp, project_id):
|
||||
resp.data = self.versions
|
||||
resp.body = self.versions
|
||||
|
||||
resp.status = falcon.HTTP_300
|
||||
|
Loading…
Reference in New Issue
Block a user