'The C{\'SERVER_PROTOCOL\'} key of the C{environ} C{dict} passed to the
application contains the HTTP version number received in the request
(RFC 3875, section 4.1.16).'

def test_serverProtocol(self):

    old = self.render('GET', '1.0', [], [''])
    old.addCallback(self.environKeyEqual('SERVER_PROTOCOL', 'HTTP/1.0'))
    new = self.render('GET', '1.1', [], [''])
    new.addCallback(self.environKeyEqual('SERVER_PROTOCOL', 'HTTP/1.1'))
    return gatherResults([old, new])
