Skip to content
Browse files

curl / wget hook into commas while webkit and others hook into spaces…

…. adding commas to make everybody happy
  • Loading branch information...
1 parent 7b2a9ba commit 26559c9bd5ad21bdb44a87ee414d2d459c6190fb @lxfontes lxfontes committed Nov 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 demos/digest_auth/digest.py
View
2 demos/digest_auth/digest.py
@@ -84,7 +84,7 @@ def _create_nonce(self):
def createAuthHeader(self):
self.set_status(401)
nonce = self._create_nonce()
- self.set_header("WWW-Authenticate", "Digest algorithm=MD5 realm=%s qop=auth nonce=%s" % (self.realm, nonce))
+ self.set_header("WWW-Authenticate", "Digest algorithm=MD5, realm=%s, qop=auth, nonce=%s" % (self.realm, nonce))
self.finish()
return False

0 comments on commit 26559c9

Please sign in to comment.
Something went wrong with that request. Please try again.