[twill] changing http_proxy from within Python
Arturo 'Buanzo' Busleiman
buanzo at buanzo.com.ar
Wed Oct 11 04:17:15 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I know twill honors the http_proxy variable, but for a web-testing script I'm creating I need it to
use different proxies in the same run, that is, change http_proxy while the script is running. I'm
running twill from inside python (very easy, excellent piece of software), and all my attempts at
modifying http_proxy are not being honored by twill. It only "sees" the pre-run value of http_proxy.
Any ideas?
- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
"Do you know about the dangers of DRM? Find out at http://www.defectivebydesign.org/what_is_drm"
http://www.buanzo.com.ar | http://www.vivamoslavida.com.ar : Portal no-comercial del buen vivir!
for f in www blog linux-consulting vpnmail; do firefox http://$f.buanzo.com.ar ; done
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFLNK7AlpOsGhXcE0RAow9AJ0QJcKJDeZ9AsrYljBPJHMCQc8oOwCfbQtg
2722OhODFbuIlNkMw+VKVE0=
=H6xh
-----END PGP SIGNATURE-----
More information about the twill
mailing list