'The C{\'CONTENT_TYPE\'} key of the C{environ} C{dict} passed to the
application contains the value of the I{Content-Type} request header
(RFC 3875, section 4.1.3).'

def test_contentType(self):

    missing = self.render('GET', '1.1', [], [''])
    missing.addCallback(self.environKeyEqual('CONTENT_TYPE', ''))
    present = self.render('GET', '1.1', [], [''], None, [('content-type', 'x-foo/bar')])
    present.addCallback(self.environKeyEqual('CONTENT_TYPE', 'x-foo/bar'))
    return gatherResults([missing, present])
