ScaleComputing / HyperCoreAnsibleCollection

Official Ansible collection for Scale Computing SC//HyperCore (HC3) v1 API
GNU General Public License v3.0
12 stars 8 forks source link

Http put with content length #178

Closed justinc1 closed 1 year ago

justinc1 commented 1 year ago

It is safer to always PUT binary data to HC3 with Content-Length HTTP header. PUT is used only in api, iso (and in future in virtual_disk module).

This does fix uploading virtual disk using raw api module example - examples/virtual_disk.yml. It will also allow integration test for virtual_disk_info module to pass (the test VD is uploaded using api module).

justinc1 commented 1 year ago

177 fixed the 'make docs'