'Validate Requests.'

def validateMessage(self, m, method, uri, headers, body):

    self.assertEqual(m.method, method)
    self.assertEqual(m.uri.toString(), uri)
    self.assertEqual(m.headers, headers)
    self.assertEqual(m.body, body)
    self.assertEqual(m.finished, 1)
