Hi,

Use of Basic HTTP Authentication:

import urllib2
auth_handler.add_password(*'realm'*, 'host', 'username', 'password')

What is realm and its use in above line of code?

If I want to access a web page and I don't know what the realm is,then
what should I write in place of realm?

Can anybody help?

Best Regards,

Govind Goyal
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to