Changeset View
Changeset View
Standalone View
Standalone View
swh/web/common/typing.py
Show First 20 Lines • Show All 249 Lines • ▼ Show 20 Lines | |||||
class OriginExistenceCheckInfo(TypedDict): | class OriginExistenceCheckInfo(TypedDict): | ||||
origin_url: str | origin_url: str | ||||
"""Origin to check""" | """Origin to check""" | ||||
exists: bool | exists: bool | ||||
"""Does the url exist?""" | """Does the url exist?""" | ||||
content_length: Optional[int] | content_length: Optional[int] | ||||
"""content length of the artifact""" | """content length of the artifact""" | ||||
last_modified: Optional[str] | last_modified: Optional[str] | ||||
"""Last modification time reported by the server""" | """Last modification time reported by the server (as iso8601 string)""" |