'HEAD requests against resource that only claim support for GET
should not include a body in the response.'

def test_unsupportedHead(self):

    resource = HeadlessResource()
    req = self._getReq(resource)
    req.requestReceived('HEAD', '/newrender', 'HTTP/1.0')
    (headers, body) = req.transport.written.getvalue().split('\r\n\r\n')
    self.assertEqual(req.code, 200)
    self.assertEqual(body, '')
