예제 #1
0
 def test_init(self):
     self.request = HttpRequest(self.msg)
     self.assertRaises(Exception, self.request.get_header, 'accept')
예제 #2
0
 def setUp(self):
     self.request = HttpRequest(self.msg)
     self.request.build()
예제 #3
0
 def build_message(self):
     self._msg = HttpRequest(self._buffer)
     self._msg.build()