Skip to main content

parse_restore_header

Function parse_restore_header 

Source
fn parse_restore_header(header: &str) -> RestoreStatus
Expand description

Parse the Glacier restore header string into a RestoreStatus.

S3 uses the form: ongoing-request="true" or ongoing-request="false", expiry-date="<RFC 2822 date>".