From 4162abb7e8d66b1150675bd8c392df619e98d319 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 24 Oct 2008 19:41:39 +0700 Subject: [PATCH] twisted_ex4_xcap_proxy.py fix: actually send the result back to the client --- examples/twisted_ex4_xcap_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/twisted_ex4_xcap_proxy.py b/examples/twisted_ex4_xcap_proxy.py index 22a00da..0e80a3b 100644 --- a/examples/twisted_ex4_xcap_proxy.py +++ b/examples/twisted_ex4_xcap_proxy.py @@ -85,7 +85,7 @@ def handler(conn): try: for line in conn: print 'received from %s: %s' % (peer, line) - print perform_request(line) + conn.protocol.transport.write(perform_request(line)) print peer, 'connection done' except Exception, ex: print peer, ex