I am running the sample for digest authentication. I didn't change anything, 
just using the provided sample and I am getting the error "HTTP/1.1 401 
UNAUTHORIZED"

If I go direct to http://httpbin.org/digest-auth/auth/user/passwd in prompts me 
for user/passwd and then provides the page. So the website is working right.

Looking at Fiddler, there are 2 requests and the second has for auth:

No Proxy-Authorization Header is present.
Authorization Header is present: Digest username="user", 
realm="m...@kennethreitz.com", nonce="b2c603bb7c93cfa197945553a1044283", 
uri="/digest-auth/auth/user/passwd", 
response="5bc193bd90e3acb1cb9242138e6bd100", 
opaque="a6766136f0585f6a7daeb124cdcdbd45", qop=auth, nc=00000001, 
cnonce="9609c2bb4a21dd0a"

No idea where that realm came from - that is not me.

What am I doing wrong?

Thanks - dave

Reply via email to