def test_Method(self):
    server = Session('www.example.com')
    request = Head(server, '/')
    self.assertEqual(request.getMethod(), 'HEAD')
def test_Method(self):
    server = Session('www.example.com')
    request = Head(server, '/')
    self.assertEqual(request.getMethod(), 'HEAD')