openstack.net
openstack.net copied to clipboard
Add ETag tests for IObjectStorageProvider.CreateObject
The test suite for IObjectStorageProvider should include tests which set the ETag header during object uploads. This would include the following:
- [ ] Verifying behavior when the
ETagis correct. - [ ] Verifying behavior when the
ETagdoes not match the uploaded data. - [ ] Verifying behavior when the
ETagtakes different forms; in particular, the quoted-string form described in the HTTP specification, and the unquoted-string form returned by some API calls. - [ ] Verifying behavior when the
ETagis invalid, i.e. not the correct length or contains invalid characters.