Azure / azure-storage-cpplite

Lite version of C++ Client Library for Microsoft Azure Storage
MIT License
25 stars 43 forks source link

storage response headers #94

Open vikasjio opened 3 years ago

vikasjio commented 3 years ago

I am able to get blob headers using one call (get_blob_property etc) and download file/stream using another call (download_blob_to_stream etc.).

However I am looking for some simple way to get response headers values (like for status code, response content length, response content range and content-type etc.) and blob itself using a Single call like download_blob_to_stream.

Sample example most welcome.

Jinming-Hu commented 3 years ago

cpplite cannot do that, but track2 can do exactly what you want https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/storage