<div>Hi,</div>
<div>I have been using twill for sometime for a website monitoring project and it has been working fine for checking all the internal websites and return me the status. What I do is basically write a twill script to check the websites performing a few actions and check for code 200 every stage.
</div>
<div>&nbsp;</div>
<div>But there was a requirement to check a site outside our company network. Since there was a proxy server I set the http_proxy environment variable using the script</div>
<div>&nbsp;</div>
<div>import os</div>
<div>os.environ[&#39;http_proxy&#39;] = &#39;<a href="http://local.proxy:80">http://local.proxy:80</a>&#39;</div>
<div>&nbsp;</div>
<div>This enables twill to direct the request to the proxy server but the proxy is not allowing twill without the authentication. I am not sure why the doamin authentication is not taken by default.</div>
<div>&nbsp;</div>
<div>I have also tried the syntax &#39;username:password:proxyhost:proxyport&#39; but this gives me the same problem. </div>
<div>&nbsp;</div>
<div>Has anyone successfully worked with twill across a proxy server and has a solution for this authentication issue?</div>
<div>&nbsp;</div>
<div>Thank you.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Sai</div>