'After being used for an I{HTTP/1.1} request with a I{Connection: Close}
header, the L{HTTPChannel} is not persistent.'

def test_http11Close(self):

    request = _prequest(connection=['close'])
    persist = self.channel.checkPersistence(request, 'HTTP/1.1')
    self.assertFalse(persist)
    self.assertEqual([('Connection', ['close'])], list(request.responseHeaders.getAllRawHeaders()))
