| skipped 77 lines |
78 | 78 | | injected_http = args.get("injected_http_contains") |
79 | 79 | | try: |
80 | 80 | | res = requests.get(url, allow_redirects=False, timeout=3, headers=headers) |
81 | | - | logger.debug(res.text) |
| 81 | + | logger.debug("Response from GET request: %s", str(res.text)) |
| 82 | + | if injected_http: |
| 83 | + | logger.debug("Checking for '%s' in censor response", injected_http) |
82 | 84 | | # If we need to monitor for an injected response, check that here |
83 | 85 | | if injected_http and injected_http in res.text: |
84 | 86 | | fitness -= 90 |
| skipped 22 lines |