[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wwwsearch-general
Subject:    Re: [wwwsearch-general] https proxies
From:       John J Lee <jjl () pobox ! com>
Date:       2011-07-20 18:58:33
Message-ID: alpine.DEB.2.00.1107201954210.3245 () localhost6 ! localdomain6
[Download RAW message or body]

On Mon, 11 Jul 2011, Mike Rayt wrote:

> Someone responded asking for my code snippet.  here it is:
>
> Thanks for the fast response.  Heres the relevant code snippets.
>
> proxy, user, password = get_proxy()
> br.set_proxies({#'http':proxy,
>  <-- I have tried toggling this line on and off
>                'https':proxy,
>                })
> #br.add_proxy_password(user,password)  <-- I have tried toggling this line
> on and off
> br.open('https://mail.yahoo.com/')  <-- this raises 407 proxy authentication
> error

Which version of Python are you using?  I think support for HTTPS proxies 
was only added in Python 2.6.


John

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
wwwsearch-general mailing list
wwwsearch-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wwwsearch-general
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic