]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python 3: encode unicode response bodies
authorCedric Brandily <zzelle@gmail.com>
Wed, 22 Jul 2015 22:28:35 +0000 (00:28 +0200)
committerCedric Brandily <zzelle@gmail.com>
Mon, 10 Aug 2015 22:33:06 +0000 (00:33 +0200)
commit07d3d6966394e2a354fa5bd7ba52959cf76cc81e
tree58b2d2dba6a580d9c26228a717fa36a535cdfb08
parent504dfcc39f3af41f66651e24ac90e8d9379cb086
Python 3: encode unicode response bodies

WebOb disallows in py3K to set webob.Response.body to a unicode object,
we should encode unicode bodies in such case.

Change-Id: Ie0dc57fbe3ed9b19dac2e958de14387bc4c1a260
Blueprint: neutron-python3
neutron/agent/metadata/namespace_proxy.py
neutron/tests/unit/api/test_extensions.py
neutron/tests/unit/extensions/foxinsocks.py
neutron/tests/unit/test_wsgi.py
neutron/wsgi.py
tox.ini