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
ETag
is correct. - [ ] Verifying behavior when the
ETag
does not match the uploaded data. - [ ] Verifying behavior when the
ETag
takes 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
ETag
is invalid, i.e. not the correct length or contains invalid characters.