Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sesh committed Mar 5, 2024
1 parent fe4fbdc commit ced2037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ready/checks/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ced2037

Please sign in to comment.