This code fails with a null pointer exception:
service.getBlobProperties(container, blob, metadata,
The reason is that the service returns a 304 code (NotModified), which is an exceptional condition, but processing continues regardless. The fix is to add the following code to BlobRestProxy.getBlobPropertiesResultFromResponse:
This will throw a new ServiceException, which is more actionable by calling code.
we should have unit test for this.
issure #77, let get blob properties throws an exception when the if
modified since condition is not met.