diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-05-10 14:29:39 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-05-13 22:25:09 +0900 |
commit | c1047818d3ce907b8a606719d650a0a982a5645e (patch) | |
tree | 83be2b0e6df81a823848fdcb7f2365c81a574c3a /README.rst | |
parent | 326b46bf6d72e201fa8667f757ac5d2cef18885a (diff) |
REST Apps: Adopt to Python 3
In Python 3, webob.Request.body is a byte type value and json.loads()
cannot parse it, because json.loads() suppose a str type value.
This patch fixes to use webob.Request.json to parse request body
and avoids this problem.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions