Say I want to download an e-tagged Blob from Azure Blob storage, usually I would do that by setting a If-None-Match header with the e-tag I currently have (other headers are supported too: https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/Specifying-Conditional-Headers-for-Blob-Service-Operations?redirectedfrom=MSDN).
In case I already have the latest blob version I would get a 304 (Not Modified) status code, otherwise a 200 with the new file etc.
The problem here is that the AndroidClientHandler does not support the 304 Status Code and throws an InvalidOperationException
Would really love to be able to use this handler for Azure Blobs.
PR opened https://github.com/xamarin/xamarin-android/pull/487
xamarin-android/master, commit c68f79ad387d8254ec2f29c4e8eb00ec8ea1eb1e
monodroid/master, commit fc64987a5dac4c0bd5e861720c29fba093437f05
Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on GitHub
to continue tracking issues. Bugzilla will remain available for
reference in read-only mode. We will continue to work on open Bugzilla
bugs, copy them to the new locations as needed for follow-up, and add
the new items under Related Links.
Create a new report for Bug 52521 on Developer
Community or GitHub if you have new information to add and do not yet see a matching
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Our sincere thanks to everyone who has contributed on this bug tracker
over the years. Thanks also for your understanding as we make these
adjustments and improvements for the future.