Chaithanya Ganta created JCLOUDS-1322:
-----------------------------------------
Summary: Zero length putBlob is making two network calls
Key: JCLOUDS-1322
URL: https://issues.apache.org/jira/browse/JCLOUDS-1322
Project: jclouds
Issue Type: Bug
Components: jclouds-core
Environment: Tested using Azure
Reporter: Chaithanya Ganta
Attachments: Charles1.png
Zero length putBlob is making two (duplicate) network calls instead of one.
This issue can be easily replicated by invoking putBlob operation with the
zero-length blob.
ByteSource payload = ByteSource.empty();
Blob blob = blobStore.blobBuilder(blobName)
.payload(payload)
.contentLength(payload.size())
.build();
blobStore.putBlob(containerName, blob);
Attached the charles log screenshot which depicts the issue
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)