Looking at section 4.1 of http://openid.net/specs/openid-authentication-2_0.html, I think it'd be safe to switch that bit of code to encode to UTF-8 rather than US-ASCII. That would remove the possibility of UnicodeEncodeErrors at that point.
Looking at section 4.1 of http:// openid. net/specs/ openid- authentication- 2_0.html, I think it'd be safe to switch that bit of code to encode to UTF-8 rather than US-ASCII. That would remove the possibility of UnicodeEncodeErrors at that point.