I want to use python’s urllib2 with authentication and I need the realm and uri of a url. How do I get it?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you make a request for a resource that requires authentication, the server will respond with a 401 status code, and a header that contains the realm:
The URI is the URL you’re trying to access.