-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content-Range response header exception for empty files #26871
Comments
Thanks for finding this and fixing it (#26872). This is definitely a regression introduced in our latest release. I will work on getting a patch release out with the fix ASAP. |
@jalauzon-msft it looks like you were right. I think this is an azurite issue: |
@daviddavis, thanks. I was also just able to confirm this with local testing. I think the fix is ultimately still a valid one for the SDK though. Checking versus |
Describe the bug
This commit checks for missing or invalid content range headers. However, there's a problem with the check because the exception gets raised if the file is empty (ie
self._file_size
is 0).To Reproduce
Steps to reproduce the behavior:
Expected behavior
File downloads properly.
The text was updated successfully, but these errors were encountered: