[Twisted-Python] ZeroC Ice + Twisted?

2009-04-09 Thread Einar S . Idsø
Dear listmembers,

I have a project that requires me to use ZeroC Ice for communicating with a
server application. I would very much like to use Twisted for this project,
and am therefore wondering if anyone has any experience with using Twisted
with ZeroC Ice?

Previous posts on this list have mentioned that ZeroC Ice has asynchronous
operations and therefore should be easily twistable, but its Python bindings
and type system are unpythonic (Stephen Waterbury, May 30th 2006) . But I
haven't found any posts by people that have actually used Ice with Twisted,
and whether it is possible to achieve proper twistified asynchronous
behaviour.

Any tales of experience, code snippets or anything else that could help me
get started using Ice with Twisted and avoid *not* using Twisted would be
greatly appreciated :)

Cheers,
Einar S. Idsø
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] HTTP Proxy client?

2009-04-09 Thread Alec Flett

Is there any way to make twisted.web.client talk through an HTTP proxy?

I don't know enough about http to know if its as simple as opening the  
connection to the proxy and just including the full URL in the GET line?


Alec

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] HTTP Proxy client?

2009-04-09 Thread Jack Moffitt
> Is there any way to make twisted.web.client talk through an HTTP proxy?
>
> I don't know enough about http to know if its as simple as opening the
> connection to the proxy and just including the full URL in the GET line?

I would expect that twisted.web.proxy.ProxyClient does what you want.
You can read about it here:

http://twistedmatrix.com/documents/current/api/twisted.web.proxy.html

I just recently made use of the ReverseProxy parts, and they worked well.

jack.

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python