]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
server/xmlrpc: send back 503 response with correct encoding
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 13 Dec 2016 07:07:03 +0000 (20:07 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Dec 2016 09:54:48 +0000 (09:54 +0000)
commit0d659a7dfe5fb096f8aa4380320f9e2a464b3cb5
tree627cb5ff850be54beaf06af74b5a68096010648c
parent2c5a8661430edebff67ab4a108995033d182b5d6
server/xmlrpc: send back 503 response with correct encoding

If you send back a string here you get "TypeError: 'str' does not
support the buffer interface" errors in bitbake-cookerdaemon.log and
"IncompleteRead(0 bytes read, 22 more expected)" errors on the client
side.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/server/xmlrpc.py