PythonモジュールRequestsでGETリクエストを行うと、奇妙なURLになります:
>>> import requests
>>> r = requests.get("http://t.co/Uspy071j")
>>> print r.url
"http://feeds.feedburner.com/%257Er/LesArdoises/%257E3/bD2JuJagz5I/roxino-cest-tout-vert.html?utm_source=twitterfeed&utm_medium=twitter"
この URL はエラー 400 で終了します。しかし、同じ URL に RestKit を使用すると、final_url は正しい値を返します。
>>> import restkit
>>> r = restkit.request("http://t.co/Uspy071j", follow_redirect=True)
>>> print r.final_url
"http://lesardoises.com/6277/roxino-cest-tout-vert.html?utm_medium=twitter&utm_source=twitterfeed"
リクエストの問題は何ですか?