From: Waldecir Loureiro dos Santos Filho Date: Wed, 21 Mar 2012 19:56:30 +0000 (-0300) Subject: we dont need post_args in url, post_args will be sended in http body. X-Git-Tag: v2.3.0~63^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68449f0b2a1307a7c848fa90c3429de91579204e;p=thirdparty%2Ftornado.git we dont need post_args in url, post_args will be sended in http body. --- diff --git a/tornado/auth.py b/tornado/auth.py index 21c8ac880..11b2ea4e1 100644 --- a/tornado/auth.py +++ b/tornado/auth.py @@ -1069,7 +1069,7 @@ class FacebookGraphMixin(OAuth2Mixin): if access_token: all_args["access_token"] = access_token all_args.update(args) - all_args.update(post_args or {}) + if all_args: url += "?" + urllib.urlencode(all_args) callback = self.async_callback(self._on_facebook_request, callback)