Repository navigation
Align Stage Block Content-MD5 response with Azure - #2811
Akanksha Jain (jainakanksha-msft) merged 12 commits into
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: jainakanksha-msft <181211853+jainakanksha-msft@users.noreply.github.com>
Co-authored-by: jainakanksha-msft <181211853+jainakanksha-msft@users.noreply.github.com>
Co-authored-by: jainakanksha-msft <181211853+jainakanksha-msft@users.noreply.github.com>
Co-authored-by: jainakanksha-msft <181211853+jainakanksha-msft@users.noreply.github.com>
Return Content-MD5 for API version 2019-02-02 itself, matching Azure's inclusive version contract, and correct the regression test and release note. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Copilot The named branch now contains commit |
The inclusive boundary fix is in commit |
|
Copilot Latest |
Merge commit |
Follow existing Azurite version-gating patterns by keeping the one-use 2019-02-02 threshold next to the behavior it controls. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Copilot Please adopt commit |
| const shouldReturnContentMD5 = | ||
| contentMD5 !== undefined && requestApiVersion >= "2019-02-02"; |
|

Stage Block omitted
Content-MD5even when clients supplied a valid MD5 checksum. Azure returns the calculatedContent-MD5for API version2019-02-02and later, while continuing to return CRC64 when MD5 is not supplied.Content-MD5for Stage Block requests withContent-MD5and API version2019-02-02or later.x-ms-content-crc64responses when no MD5 is supplied.Content-MD5for2019-02-02, matching Azure's inclusive boundary.Regression coverage
2019-02-02and later MD5 response behavior.2019-02-02returnsContent-MD5.Changelog
Fixes #2394
Original prompt