{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/8639768262b8484f6a3380f8db2efa5b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8639768262b8484f6a3380f8db2efa5b","url":"https://api.github.com/users/pennersr","login":"pennersr","id":201022},"assignee":null,"updated_at":"2011-11-16T00:43:32Z","labels":[],"closed_at":"2011-09-12T12:29:35Z","comments":9,"url":"https://api.github.com/repos/kennethreitz/requests/issues/161","body":"The following invocation raises a TooManyRedirects exception.\r\n\r\n    >>> requests.get('http://t.co/uHmpMUF')\r\n    requests.exceptions.TooManyRedirects\r\n\r\nHowever, neither ``wget`` nor ``curl`` appears to have any problems tracking this URL:\r\n\r\n    wget http://t.co/uHmpMUF\r\n    --2011-09-12 12:20:43--  http://t.co/uHmpMUF\r\n    Resolving t.co (t.co)... 199.59.148.12\r\n    Connecting to t.co (t.co)|199.59.148.12|:80... connected.\r\n    HTTP request sent, awaiting response... 301 Moved Permanently\r\n    Location: http://awe.sm/5Sxto [following]\r\n    --2011-09-12 12:20:44--  http://awe.sm/5Sxto\r\n    Resolving awe.sm (awe.sm)... 174.129.233.169\r\n    Connecting to awe.sm (awe.sm)|174.129.233.169|:80... connected.\r\n    HTTP request sent, awaiting response... 301 Moved Permanently\r\n    Location: http://hypem.com/item/1e8ah?awesm=awe.sm_5Sxto&utm_campaign=&utm_medium=awe.sm-twitter&utm_source=direct-awe.sm&utm_content=autotweet [following]\r\n    --2011-09-12 12:20:44--  http://hypem.com/item/1e8ah?awesm=awe.sm_5Sxto&utm_campaign=&utm_medium=awe.sm-twitter&utm_source=direct-awe.sm&utm_content=autotweet\r\n    Resolving hypem.com (hypem.com)... 205.251.139.43\r\n    Connecting to hypem.com (hypem.com)|205.251.139.43|:80... connected.\r\n    HTTP request sent, awaiting response... 302 Moved Temporarily\r\n    Location: /#!/item/1e8ah?awesm=awe.sm_5Sxto&utm_campaign=&utm_medium=awe.sm-twitter&utm_source=direct-awe.sm&utm_content=autotweet [following]\r\n    --2011-09-12 12:20:45--  http://hypem.com/\r\n    Connecting to hypem.com (hypem.com)|205.251.139.43|:80... connected.\r\n    HTTP request sent, awaiting response... 200 OK\r\n    Length: unspecified [text/html]\r\n    Saving to: “index.html.1”\r\n    \r\n        [ <=>                                   ] 15,102      --.-K/s   in 0.008s  \r\n    \r\n    2011-09-12 12:20:45 (1.89 MB/s) - “index.html.1” saved [15102]\r\n\r\nSame for curl:\r\n\r\n    curl -L http://t.co/uHmpMUF\r\n","html_url":"https://github.com/kennethreitz/requests/issues/161","title":"requests bumps into TooManyRedirects, curl/wget don't","number":161,"id":1622594,"created_at":"2011-09-12T10:28:06Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/fedf9bab11d80ff28483c94ea8350730?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"fedf9bab11d80ff28483c94ea8350730","url":"https://api.github.com/users/michielgardner","login":"michielgardner","id":771242},"updated_at":"2011-11-16T00:43:32Z","url":"https://api.github.com/repos/kennethreitz/requests/issues/comments/2753985","body":"Another one that goes crazy: http://sarahspy.com/post/12643485796 (hosted on Tumblr)\r\n\r\n```\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (16): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (17): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (18): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (19): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (20): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (21): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (22): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12848432239%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12512935464%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/11394955863%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (23): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12848432239%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12512935464%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/11394955863%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12643485796%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (19): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (24): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12643485796%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (20): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (25): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12643485796%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (21): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12599423788%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (26): sarahspy.com\r\nDEBUG:requests.packages.urllib3.connectionpool:\"GET /post/12643485796%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1\" 302 0\r\n```","id":2753985,"created_at":"2011-11-16T00:43:32Z"}}