Azure / azure-functions-python-library

Azure Functions Python SDK
MIT License
155 stars 67 forks source link

fix: correctly deserialize blob length #252

Closed YunchuWang closed 1 month ago

YunchuWang commented 1 month ago

Python library incorrectly decodes the length of a blob when the blob is triggered. this issue persists since ext bundle ver 2-3. Not a change caused by blob sdk https://github.com/search?q=repo%3AAzure%2Fazure-sdk-for-net%20blobproperties&type=code or dotnet blob extension https://github.com/Azure/azure-functions-dotnet-worker/tree/main/extensions/Worker.Extensions.Storage.Blobs/src or function host.

reference to node function: https://github.com/Azure/azure-functions-nodejs-worker/issues/729 customers starting accessing blob length by "contentlength" attribute since 2017.