'If the CGI script emits a I{Server} or I{Date} header, these are
ignored.'

def test_protectedServerAndDate(self):

    cgiFilename = self.writeCGI(SPECIAL_HEADER_CGI)
    portnum = self.startServer(cgiFilename)
    url = ('http://localhost:%d/cgi' % (portnum,))
    url = url.encode('ascii')
    agent = client.Agent(reactor)
    d = agent.request('GET', url)
    d.addCallback(discardBody)
    def checkResponse(response):
        self.assertNotIn('monkeys', response.headers.getRawHeaders('server'))
        self.assertNotIn('last    year', response.headers.getRawHeaders('date'))
    d.addCallback(checkResponse)
    return d
