On Dec 1, 10:16 am, Chris Rebert wrote:
> On Wed, Dec 1, 2010 at 1:53 AM, wrote:
> > Hi All,
>
> > I'm using urllib2 module to login to an https server. However I'm unable to
> > login as the password is not getting accepted.
>
> > Here is the code:
>
> > import urllib2, urllib
> > values={'User
On Wed, Dec 1, 2010 at 1:53 AM, wrote:
> Hi All,
>
>
> I'm using urllib2 module to login to an https server. However I'm unable to
> login as the password is not getting accepted.
>
> Here is the code:
>
> import urllib2, urllib
> values={'Username': 'admin', 'Password': 'admin123'}
> url='https:
Hi All,
I'm using urllib2 module to login to an https server. However I'm unable to
login as the password is not getting accepted.
Here is the code:
import urllib2, urllib
values={'Username': 'admin', 'Password': 'admin123'}
url='https://172.25.17.20:9443'
data = urllib.urlencode(values)
data