def METHOD_NAME(self):
    test_cases = [
        (b'', 501),
        (b'DELETE', 501),
        (b'GET', 200),
        (b'HEAD', 200),
        (b'OPTIONS', 200),
        (b'POST', 501),
        (b'PUT', 501),
        (b'XXX', 501)
    ]
    server_headers = [
        ('Cache-control', 'no-store'),
        ('Content-Language', 'en'),
        ('Content-Security-Policy', 'base-uri \'none\';' \
                                    'default-src \'none\';' \
                                    'form-action \'none\';' \
                                    'frame-ancestors \'none\';' \
                                    'sandbox;'),
        ('Cross-Origin-Embedder-Policy', 'require-corp'),
        ('Cross-Origin-Opener-Policy', 'same-origin'),
        ('Cross-Origin-Resource-Policy', 'same-origin'),
        ('Permissions-Policy', "camera=(),"
                               "document-domain=(),"
                               "fullscreen=(),"
                               "geolocation=(),"
                               "microphone=()"),
        ('Referrer-Policy', 'no-referrer'),
        ('Server', 'GlobaLeaks'),
        ('X-Content-Type-Options', 'nosniff'),
        ('X-Check-Tor', 'False'),
        ('X-Frame-Options', 'deny')
    ]
    for method, status_code in test_cases:
        request = forge_request(uri=b"https://www.globaleaks.org/", method=method)
        self.api.render(request)
        self.assertEqual(request.responseCode, status_code)
        for headerName, expectedHeaderValue in server_headers:
            returnedHeaderValue = request.responseHeaders.getRawHeaders(headerName)[0]
            self.assertEqual(returnedHeaderValue, expectedHeaderValue)