Skip to content

Instantly share code, notes, and snippets.

View kintoandar's full-sized avatar
✌️

Joel Bastos kintoandar

✌️
View GitHub Profile
import unittest
import urllib
#URL_TO_TEST = 'https://example.com/'
URL_TO_TEST = 'https://securityheaders.com/'
class TestSecurityHeaders(unittest.TestCase):
"""
Tests for security headers based on the recommendations
from https://securityheaders.com/