ciao-cli: Check HTTP response on PUT upload requests to image endpoint
ciao-cli: Check HTTP response on PUT upload requests to image endpoint

Compare HTTP response on upload against expectation and raise and handle
an error if it is not as expected.

Fixes: #1469

Signed-off-by: Rob Bradford <c49e1dc14cd52e2644816db47123896e0ac79025@intel.com>

ciao-project/ciao,rbradford/ciao,01org/ciao,kaccardi/ciao,ciao-project/ciao,markdryan/ciao,tpepper/ciao,01org/ciao,rbradford/ciao,markdryan/ciao,tpepper/ciao,kaccardi/ciao,tpepper/ciao