Docs/API reference

DownloadResult · Python

Response metadata and bytes actually retained/written. Check status and resumed explicitly.

Download .md
Developers2 min read10 sections
Source reference · Match your SDK version. Availability and known issues
In this guide

Purpose and lifecycle

Response metadata and bytes actually retained/written. Check status and resumed explicitly.

Definition and availability

Source snapshot: 1.0.0-alpha.3. Package export. Declared in source; this is not a runtime test result.

Signatures and source locations are generated from the SDK wrappers. Clean snapshots link to the recorded commit. Modified snapshots link to main, which may differ; file hashes identify the local inputs.

class DownloadResult
python1 lines · copy-ready

Members

MemberKindReturn / value typeSource status
urlpropertystrPresent in source
statuspropertyintPresent in source
bytes_writtenpropertyintPresent in source
content_typepropertystrPresent in source
suggested_filenamepropertyOptional[str]Present in source
resumedpropertyboolPresent in source

url

Source/final URL according to the operation; check redirects and provenance needs.

Returns / value: str.

url: str
python1 lines · copy-ready

status

HTTP response status code.

Returns / value: int.

status: int
python1 lines · copy-ready

bytes_written

Bytes actually retained or written.

Returns / value: int.

bytes_written: int
python1 lines · copy-ready

content_type

Reported or inferred response MIME type.

Returns / value: str.

content_type: str
python1 lines · copy-ready

suggested_filename

Untrusted response-suggested filename; choose your destination explicitly.

Returns / value: Optional[str].

suggested_filename: Optional[str]
python1 lines · copy-ready

resumed

Whether a range response was accepted for the download.

Returns / value: bool.

resumed: bool
python1 lines · copy-ready

Errors and operational limits

See the consuming API for validation and failure behavior. Types and enum declarations do not perform network requests by themselves.

Source availability, package publication and runtime validation are separate facts. These pages describe the source snapshot, not a claim that all platforms or every API path have passed production acceptance.