Skip to main content

Module conditional_get

Module conditional_get 

Source

Structs§

ConditionalRequest
Manages HTTP conditional headers for smart resume and unchanged-file detection.
SimpleDateTime
Simple datetime structure for RFC 2822 date handling without chrono dependency. Stores timestamp as seconds since Unix epoch for simplicity.
SmartResumeManager
Coordinates conditional GET across multiple URI attempts for the same resource.

Enums§

ResumeAction
Action to take based on HTTP status code for smart resume scenarios.

Functions§

handle_resume_status
Handle special HTTP statuses for smart resume scenarios. Returns action to take.