Enum http_cache_semantics::BeforeRequest [−][src]
Next action suggested after before_request()
Variants
Fresh(Parts)
Good news! You can use it with body from the cache. No need to contact the server.
You must send the request to the server first.
Show fields
Implementations
impl BeforeRequest
[src]
impl BeforeRequest
[src]pub fn satisfies_without_revalidation(&self) -> bool
[src]
pub fn satisfies_without_revalidation(&self) -> bool
[src]For backwards compatibility only.
Don’t forget to use request headers from BeforeRequest::Fresh