diff --git a/src/main.rs b/src/main.rs index 1be552f..ff3b89f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -621,11 +621,6 @@ impl ProxyService { cachable = false; } - if part.headers.contains_key(hyper::header::AUTHORIZATION) { - tracing::debug!("Not caching request with authorization header"); - cachable = false; - } - let cache_path_on_disk = self.settings.cache_dir.join(&cache_key); if cachable {