]> git.ipfire.org Git - thirdparty/tornado.git/commit
Always send oauth_version=1.0, even when using 1.0a.
authorBen Darnell <ben@bendarnell.com>
Sun, 14 Apr 2013 19:31:50 +0000 (15:31 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 14 Apr 2013 19:31:50 +0000 (15:31 -0400)
commit6e00a75a95dce06a28af949915e0194e61b1898e
tree426fe9e125a38a41236e749f3075a48cde4aec25
parent227ca881ada5c3bd9c32a9fbf3ae88fd7c2183bc
Always send oauth_version=1.0, even when using 1.0a.

This is required by the spec (http://oauth.net/core/1.0/#auth_step1).
Many providers (including Google and Twitter) allow a value of either
1.0 or 1.0a here, but e.g. LinkedIn requires 1.0.

Closes #236.
tornado/auth.py
tornado/test/auth_test.py