Re: Login using usrllib2

2010-12-01 Thread Jon Clements
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

Re: Login using usrllib2

2010-12-01 Thread Chris Rebert
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:

Login using usrllib2

2010-12-01 Thread dudeja . rajat
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