File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/cache/clear_site_data Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub use directive::ClearDirective;
20
20
///
21
21
/// # Specifications
22
22
///
23
- /// - [RFC 7232, section 3.1: If-Match ](https://tools.ietf.org/html/rfc7232#section-3.1 )
23
+ /// - [Clear Site Data ](https://w3c.github.io/webappsec-clear-site-data/ )
24
24
///
25
25
/// # Examples
26
26
///
@@ -61,13 +61,13 @@ impl ClearSiteData {
61
61
/// Create a new instance from headers.
62
62
pub fn from_headers ( headers : impl AsRef < Headers > ) -> crate :: Result < Option < Self > > {
63
63
let mut entries = vec ! [ ] ;
64
- let headers = match headers. as_ref ( ) . get ( CLEAR_SITE_DATA ) {
64
+ let header_values = match headers. as_ref ( ) . get ( CLEAR_SITE_DATA ) {
65
65
Some ( headers) => headers,
66
66
None => return Ok ( None ) ,
67
67
} ;
68
68
69
69
let mut wildcard = false ;
70
- for value in headers {
70
+ for value in header_values {
71
71
for part in value. as_str ( ) . trim ( ) . split ( ',' ) {
72
72
let part = part. trim ( ) ;
73
73
if part == r#""*""# {
You can’t perform that action at this time.
0 commit comments