We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cadfb90 commit 76ba232Copy full SHA for 76ba232
tornado/auth.py
@@ -499,8 +499,13 @@ def _on_post(self, new_entry):
499
self.finish("Posted a message!")
500
501
"""
502
+ if path.startswith('http:') or path.startswith('https:'):
503
+ # Raw urls are useful for e.g. search which doesn't follow the
504
+ # usual pattern: http://search.twitter.com/search.json
505
+ url = path
506
+ else:
507
+ url = "http://api.twitter.com/1" + path + ".json"
508
# Add the OAuth resource request signature if we have credentials
- url = "http://api.twitter.com/1" + path + ".json"
509
if access_token:
510
all_args = {}
511
all_args.update(args)
0 commit comments