From ced2037f65be3d21139069a771705f31f9c88dfe Mon Sep 17 00:00:00 2001 From: Brenton Cleeland Date: Wed, 6 Mar 2024 08:57:27 +1100 Subject: [PATCH] fix: formatting --- ready/checks/content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ready/checks/content.py b/ready/checks/content.py index 6b037e0..0ee9dab 100644 --- a/ready/checks/content.py +++ b/ready/checks/content.py @@ -40,8 +40,8 @@ def check_http_expires_header_not_used_without_cache_control(responses, **kwargs # - pass if both Expires and Cache-Control are set # - fail in all other scenarios - expires = responses['response'].headers.get('expires') - cache_control = {responses['response'].headers.get('cache-control')} + expires = responses["response"].headers.get("expires") + cache_control = {responses["response"].headers.get("cache-control")} check_passed = False if not expires or (expires and cache_control):