We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be286d5 commit 3af9864Copy full SHA for 3af9864
src/cache/cache_control/cache_directive.rs
@@ -53,7 +53,7 @@ impl CacheDirective {
53
}
54
55
/// Check whether this directive is valid in an HTTP response.
56
- pub fn is_res(&self) -> bool {
+ pub fn valid_in_res(&self) -> bool {
57
use CacheDirective::*;
58
matches!(self,
59
MustRevalidate
0 commit comments