import requests def test_url(): # Attempting to reconstruct the truncated URL from logs just in case, but let's try to list dir again to be sure # Actually, I'll update check_files.py to dumping the FULL filename cleanly first. pass print(f"Testing URL: {url}") try: res = requests.head(url) print(f"Status Code: {res.status_code}") print(f"Content Type: {res.headers.get('content-type')}") except Exception as e: print(f"Error: {e}") if __name__ == "__main__": test_url()