Skip to content

fix: be less strict about range request responses - #3410

Merged
copybara-service[bot] merged 2 commits into
androidx:mainfrom
costela:leo.antunes/be-less-strict-about-range-request-responses
Sep 17, 2026
Merged

copybara-service[bot] merged 2 commits into
androidx:mainfrom
costela:leo.antunes/be-less-strict-about-range-request-responses

Conversation

@costela

@costela costela commented Sep 10, 2026

Copy link
Copy Markdown

The code currently only does manual byte skipping for HTTP responses with a 200 status. There are other valid status codes that may be returned for a non-range response (e.g. 203), so we should be less strict about it.

This PR is a re-creation of #3404 to ease merging.

@rohitjoins rohitjoins self-assigned this Sep 10, 2026
@rohitjoins
rohitjoins force-pushed the leo.antunes/be-less-strict-about-range-request-responses branch from 5c248db to fe638d0 Compare September 10, 2026 16:15
@rohitjoins

Copy link
Copy Markdown
Contributor

I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback. Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks!

@rohitjoins
rohitjoins force-pushed the leo.antunes/be-less-strict-about-range-request-responses branch from fe638d0 to ed42b75 Compare September 10, 2026 16:34
costela and others added 2 commits September 17, 2026 16:39
The code currently only does manual byte skipping for HTTP responses
with a 200 status. There are other valid status codes that may be
returned for a non-range response (e.g. 203), so we should be less
strict about it.
@rohitjoins
rohitjoins force-pushed the leo.antunes/be-less-strict-about-range-request-responses branch from ed42b75 to 6b47f35 Compare September 17, 2026 15:42
@copybara-service
copybara-service Bot merged commit ad614b0 into androidx:main Sep 17, 2026
1 check passed
@costela
costela deleted the leo.antunes/be-less-strict-about-range-request-responses branch September 18, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants