Extra header

merge-requests/30/head
Bob Mottram 2022-03-15 10:22:53 +00:00
parent fd1db142a5
commit a4a5ad7b32
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ class PubServer(BaseHTTPRequestHandler):
# The presence if these headers on their own indicates a MiTM # The presence if these headers on their own indicates a MiTM
mitm_headers = ( mitm_headers = (
'CF-Connecting-IP', 'CF-RAY', 'CF-IPCountry', 'CF-Visitor', 'CF-Connecting-IP', 'CF-RAY', 'CF-IPCountry', 'CF-Visitor',
'CDN-Loop', 'CF-Worker' 'CDN-Loop', 'CF-Worker', 'CF-Cache-Status'
) )
for header_name in mitm_headers: for header_name in mitm_headers:
if self.headers.get(header_name): if self.headers.get(header_name):