Patch #1667860: Fix UnboundLocalError in urllib2.
diff --git a/Lib/urllib2.py b/Lib/urllib2.py
index a1badb7..415c991 100644
--- a/Lib/urllib2.py
+++ b/Lib/urllib2.py
@@ -949,7 +949,7 @@
             respdig = KD(H(A1), "%s:%s" % (nonce, H(A2)))
         else:
             # XXX handle auth-int.
-            pass
+            raise URLError("qop '%s' is not supported." % qop)
 
         # XXX should the partial digests be encoded too?