Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache age header #219

Merged
merged 2 commits into from
Aug 8, 2020
Merged

Cache age header #219

merged 2 commits into from
Aug 8, 2020

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
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.

1 participant