| Name | Type | Description |
|---|---|---|
path* | str | File path to read. |
start | Optional[int] | Default: NoneFirst byte to return. With |
end | Optional[int] | Default: None |
suffix_bytes | Optional[int] | Default: None |
if_range | Optional[str] | Default: None |
if_none_match | Optional[str] | Default: None |
timeout | int | Default: 60 |
headers | RequestHeaders | Default: None |
Read part of a file, for chunked reads and resumed downloads.
Last byte to return, inclusive. Clamped to EOF rather than rejected.
Return the last N bytes. Mutually exclusive with
start/end.
An ETag from an earlier chunk. The range is honored
only while the file still matches it; a rewrite answers 200
with the whole file, reported as partial=False so a
resuming caller restarts instead of splicing two versions.
An ETag the caller already holds. An unchanged
file answers with unchanged=True and no bytes.
Request timeout in seconds.
Extra request headers.