Skip to content

Commit 5f8040d

Browse files
committed
Fix bug where cache directives are not properly made lowercase
1 parent e8b7532 commit 5f8040d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cache/cache_control/cache_directive.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ impl CacheDirective {
8888
return Ok(None);
8989
}
9090

91+
let s = s.to_lowercase();
9192
let mut parts = s.split('=');
9293
let next = parts.next().unwrap();
9394

0 commit comments

Comments
 (0)