def test_withRequest(self):
        request = DummyRequest('/RPC2')
        request.method = "POST"
        request.content = StringIO(xmlrpclib.dumps(("foo",), 'withRequest'))
        def valid(n, request):
            data = xmlrpclib.loads(request.written[0])
            self.assertEquals(data, (('POST foo',), None))
        d = request.notifyFinish().addCallback(valid, request)
        self.resource.render_POST(request)
        return d
When an XML-RPC method is called and the implementation is
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_xmlrpc.py/XMLRPCTestWithRequest.test_withRequest