Skip to content

Fix seeks on async HTTP streams - #2115

Open
be-student wants to merge 1 commit into
fsspec:masterfrom
be-student:codex/1772-async-seek
Open

Fix seeks on async HTTP streams#2115
be-student wants to merge 1 commit into
fsspec:masterfrom
be-student:codex/1772-async-seek

Conversation

@be-student

Copy link
Copy Markdown

Fixes async HTTP stream seeking by reopening the response at the logical file position. It uses byte ranges when supported and falls back to streaming past the offset otherwise.

Tests: HTTP suite (61 passed), async suite (27 passed), Ruff.

Closes #1772

AI assistance was used for implementation and testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Seeking on Async FS is bugged / not-working

1 participant