Comment 0 for bug 1493826

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

Version: glance liberty master (latest 04.09.15)
Steps to reproduce:
1. Create an artifact(type=MyArtifact) with blob property (image_file)
2. Update blob property image_file with some value:
curl -H "X-Auth-Token: 6b2e3dccf35642b89099465e7492a42a" -H "Content-Type:application/octet-stream" -X POST -d '{"data": "someupdates_datawithtretrtrt"}' http://127.0.0.1:9292/v3/artifacts/myartifact/v2.0/e4e58687-dbb9-4fa2-af53-b4addc15bc99/image_file -i
3. Request blob property replace:
curl -H "X-Auth-Token: 6b2e3dccf35642b89099465e7492a42a" -H "Content-Type:application/octet-stream" -X PUT -d '{"data": "someupdates_datawithtretrtrt"}' http://127.0.0.1:9292/v3/artifacts/myartifact/v2.0/e4e58687-dbb9-4fa2-af53-b4addc15bc99/image_file -i
AR: 405 Method not allowed
ER: 200