Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Missing conditional headers for some Blob service operations #35

Closed
guangyang opened this issue Apr 6, 2013 · 1 comment
Closed

Missing conditional headers for some Blob service operations #35

guangyang opened this issue Apr 6, 2013 · 1 comment
Labels

Comments

@guangyang
Copy link
Contributor

According to Specifying Conditional Headers for Blob Service Operations, the blob's acquire_lease method should support the conditional headers.

I assembled the following table from that Web page for auditing the PHP and Java blobs; it might be helpful for auditing the Ruby methods too:

REST OperationIf-Modified-SinceIf-Unmodified-SinceIf-MatchIf-None-Match
Create ContainerN/AN/AN/AN/A
Delete ContainerxxN/AN/A
Get Container MetadataN/AN/AN/AN/A
Set Container MetadataxN/AN/AN/A
Get Container PropertiesN/AN/AN/AN/A
Get Container ACLN/AN/AN/AN/A
Set Container ACLN/AN/AN/AN/A
List BlobsN/AN/AN/AN/A
Get Blob Metadataxxxx
Set Blob Metadataxxxx
Get Blob PropertiesxxN/AN/A
Set Blob Propertiesxxxx
Put Blobxxxx
Get Blobxxxx
Copy Blobxxxx
Snapshot Blobxxxx
Lease Blobxxxx
Delete Blobxxxx
Put BlockN/AN/AN/AN/A
Get Block Listxxxx
Put Block Listxxxx
Put Pagexxxx
Get Page Rangesxxxx

For example, I just used it to find that the delete_blob is missing :if_modified_since and :if_unmodified_since.

@guangyang
Copy link
Contributor Author

P3: Nice to fix

@azuresdkci azuresdkci removed this from the backlog milestone Sep 21, 2014
@azuresdkci azuresdkci removed the P3 label Sep 21, 2014
@devigned devigned added the Team label Apr 3, 2015
@devigned devigned closed this as completed May 1, 2015
AutorestCI added a commit that referenced this issue Jun 1, 2018
AutorestCI added a commit that referenced this issue Jun 4, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants