Skip to content

Conversation

@yoshuawuyts
Copy link
Member

@yoshuawuyts yoshuawuyts commented Aug 7, 2020

Adds the cache::Age header. mdn. Ref #99

Screenshots

Screenshot_2020-08-07 http_types cache Age - Rust

@yoshuawuyts
Copy link
Member Author

One method this is missing is duration which provides access to the inner Duration. fn duration(&self) -> Duration

@yoshuawuyts yoshuawuyts mentioned this pull request Aug 7, 2020
@yoshuawuyts
Copy link
Member Author

Merging but not yet publishing; we need the follow-up PR for the If-Modified-Since and If-Unmodified-Since headers.

@yoshuawuyts yoshuawuyts merged commit b59d11f into master Aug 8, 2020
@delete-merged-branch delete-merged-branch bot deleted the cache-age-header branch August 8, 2020 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants