Pietro Battiston wrote:
> devo creare un client http che faccia delle richieste tramite un
> proxy.
> 
> "Niente di più semplice", direte voi.
> 
> Lo pensavo anche io, ma sono completamente bloccato.

Purtroppo l'API di urllib2 non è delle più intuitive, soprattutto quando
son coinvolti proxy e autenticazione.

Non è detto che ti risolva il problema, ma potresti semplificarti la vita
usando Requests <http://pypi.python.org/pypi/requests>.

-- 
Nicola Larosa - http://www.tekNico.net/

The most formative influence on my politics was reading "The Rise
and Fall of the Third Reich" and thinking very hard about how Germany
went from the Weimar Republic to stoking the furnaces at Dachau. My
conclusion was that there is a short, straight path from statism to
genocide, and the only way to avoid that grimmest of destinations
is never to get on the train. - Eric Raymond, April 2012
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a