googleapis / storage-testbench

A testbench for Google Cloud Storage client libraries.
Apache License 2.0
9 stars 20 forks source link

fix: send correct content-range header if requested byte range was truncated #622

Closed jbms closed 7 months ago

jbms commented 7 months ago

Previously, if the requested byte range was truncated, an invalid content-range header was sent.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.69%. Comparing base (2689610) to head (d8115b0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #622 +/- ## ======================================= Coverage 98.69% 98.69% ======================================= Files 50 50 Lines 8491 8492 +1 ======================================= + Hits 8380 8381 +1 Misses 111 111 ``` | [Flag](https://app.codecov.io/gh/googleapis/storage-testbench/pull/622/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googleapis) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/googleapis/storage-testbench/pull/622/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googleapis) | `98.69% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=googleapis#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.