requests bumps into TooManyRedirects, curl/wget don't

The following invocation raises a TooManyRedirects exception.

```
>>> requests.get('http://t.co/uHmpMUF')
requests.exceptions.TooManyRedirects
```

However, neither `wget` nor `curl` appears to have any problems tracking this URL:

```
wget http://t.co/uHmpMUF
--2011-09-12 12:20:43--  http://t.co/uHmpMUF
Resolving t.co (t.co)... 199.59.148.12
Connecting to t.co (t.co)|199.59.148.12|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://awe.sm/5Sxto [following]
--2011-09-12 12:20:44--  http://awe.sm/5Sxto
Resolving awe.sm (awe.sm)... 174.129.233.169
Connecting to awe.sm (awe.sm)|174.129.233.169|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
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]
--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
Resolving hypem.com (hypem.com)... 205.251.139.43
Connecting to hypem.com (hypem.com)|205.251.139.43|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /#!/item/1e8ah?awesm=awe.sm_5Sxto&utm_campaign=&utm_medium=awe.sm-twitter&utm_source=direct-awe.sm&utm_content=autotweet [following]
--2011-09-12 12:20:45--  http://hypem.com/
Connecting to hypem.com (hypem.com)|205.251.139.43|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “index.html.1”

    [ <=>                                   ] 15,102      --.-K/s   in 0.008s  

2011-09-12 12:20:45 (1.89 MB/s) - “index.html.1” saved [15102]
```

Same for curl:

```
curl -L http://t.co/uHmpMUF
```


Requests intentionally stops following redirects after 30. You can customize this behavior with this:

``` python
requests.settings.max_redirects = None
```


As the `wget` log clearly shows, the number of redirects is far less than 30. So `requests` should not be bumping into the `max_redirects` limit at all.

So unless I am missing something, this really looks like a bug in `requests`. Could you please reopen?


Sorry for the bug. I'm not having the same issue here from the current development version.

There was a set of changes to the relative redirection mechanism recently. I suspect it is related. The new release will be available soon.

``` pycon
>>> import requests
>>> r = requests.get('http://t.co/uHmpMUF')
>>> r.status_code
200
>>> r.history
[<Response [301]>, <Response [301]>, <Response [302]>]
```


Confirmative -- the current development version works fine. Thanks.


I bumped into another link that shows the same problem, this time with the current development version:

```
>>> import requests
>>> requests.__version__
'0.6.2 (dev)'
>>> requests.head('http://t.co/OnL7f5Pu')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/Users/pennersr/src/ep/opt/python2.6/src/requests/requests/api.py", line 114, in head
    return request('head', url, **kwargs)
  File "/Users/pennersr/src/ep/opt/python2.6/src/requests/requests/api.py", line 79, in request
    r.send()
  File "/Users/pennersr/src/ep/opt/python2.6/src/requests/requests/models.py", line 377, in send
    self._build_response(why, is_error=True)
  File "/Users/pennersr/src/ep/opt/python2.6/src/requests/requests/models.py", line 222, in _build_response
    raise TooManyRedirects()
TooManyRedirects
```

`wget` has no trouble fetching that URL:

```
$ wget http://t.co/OnL7f5Pu
--2011-09-15 09:30:27--  http://t.co/OnL7f5Pu
Resolving t.co (t.co)... 199.59.148.12
Connecting to t.co (t.co)|199.59.148.12|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://instnc.tv/1vP [following]
--2011-09-15 09:30:28--  http://instnc.tv/1vP
Resolving instnc.tv (instnc.tv)... 174.143.181.147
Connecting to instnc.tv (instnc.tv)|174.143.181.147|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.instinctiv.com/song/Paul+Van+Dyk+F.+A.Tomberlin/Complicated+%28Kyau+Vs.+Albert+Remix%29/4bce24c700010efb0c204a60644a0101 [following]
--2011-09-15 09:30:28--  http://www.instinctiv.com/song/Paul+Van+Dyk+F.+A.Tomberlin/Complicated+%28Kyau+Vs.+Albert+Remix%29/4bce24c700010efb0c204a60644a0101
Resolving www.instinctiv.com (www.instinctiv.com)... 174.143.181.147
Reusing existing connection to instnc.tv:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “4bce24c700010efb0c204a60644a0101”

    [ <=>                                   ] 9,036       --.-K/s   in 0.1s    

2011-09-15 09:30:28 (63.4 KB/s) - “4bce24c700010efb0c204a60644a0101” saved [9036]
```


@kennethreitz I think this problem is still there, I'm getting a lot TooManyRedirects errors.

The fix by @jerem worked for me, but had to adapt it a little bit to the latest Requests version.


Can you provide a reproducible example?


Yes, try this URL:

```
http://thehottestishh.net/?feed=rss2
```

With Requests:

```

>>> a = requests.get('http://thehottestishh.net/?feed=rss2')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 78, in get
    return request('get', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 65, in request
    prefetch=prefetch
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 187, in request
    r.send(prefetch=prefetch)
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 459, in send
    self._build_response(r)
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 203, in _build_response
    raise TooManyRedirects()
requests.exceptions.TooManyRedirects
```

With Wget:

```

--2011-11-16 00:53:54--  http://thehottestishh.net/?feed=rss2
Resolving thehottestishh.net... 68.178.232.99
Connecting to thehottestishh.net|68.178.232.99|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /?feed=rss2?b6eff5f0 [following]
--2011-11-16 00:53:54--  http://thehottestishh.net/?feed=rss2?b6eff5f0
Connecting to thehottestishh.net|68.178.232.99|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /?feed=rss2 [following]
--2011-11-16 00:53:54--  http://thehottestishh.net/?feed=rss2
Connecting to thehottestishh.net|68.178.232.99|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26936 (26K) [text/html]
Saving to: `index.html?feed=rss2.1'

100%[===================================================================================================================================================================================================>] 26,936      52.7K/s   in 0.5s    

2011-11-16 00:53:56 (52.7 KB/s) - `index.html?feed=rss2.1' saved [26936/26936]
```

But now I'm testing with this url strange stuff is happening, now I retried I get a 200 and it's working in both Wget and Requests:

```
--2011-11-16 00:58:03--  http://thehottestishh.net/?feed=rss2
Resolving thehottestishh.net... 68.178.232.99
Connecting to thehottestishh.net|68.178.232.99|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26936 (26K) [text/html]
Saving to: `index.html?feed=rss2.2'

100%[===================================================================================================================================================================================================>] 26,936      52.2K/s   in 0.5s    

2011-11-16 00:58:05 (52.2 KB/s) - `index.html?feed=rss2.2' saved [26936/26936]
```

Btw, this was in my logfile (not everything is from this same url but you can see what's happening):

```
DEBUG:requests.packages.urllib3.connectionpool:"GET /?feed=rss2 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (2): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /rss HTTP/1.1" 200 2616
DEBUG:requests.packages.urllib3.connectionpool:"GET /rslblog/Byey HTTP/1.1" 200 None
DEBUG:requests.packages.urllib3.connectionpool:"GET /fadedglamourblog HTTP/1.1" 200 None
DEBUG:requests.packages.urllib3.connectionpool:"GET /rss HTTP/1.1" 200 3172
DEBUG:requests.packages.urllib3.connectionpool:"GET /feed HTTP/1.1" 301 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (2): www.rollogrady.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /feed HTTP/1.1" 301 20
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (2): www.megaplatinum.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /feed/ HTTP/1.1" 200 None
DEBUG:requests.packages.urllib3.connectionpool:"GET /feed HTTP/1.1" 302 145
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (2): tirbd.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /blog/?feed=rss2 HTTP/1.1" 200 None
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (3): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (4): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (5): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (6): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (7): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (8): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (9): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (10): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (11): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (12): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (13): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (16): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (17): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (18): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (19): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (20): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (21): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (22): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (23): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (24): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (25): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (26): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (27): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (28): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (29): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (30): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (31): thehottestishh.net
DEBUG:requests.packages.urllib3.connectionpool:"GET /%3Ffeed%3Drss2%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0%3Fb6eff5f0 HTTP/1.1" 302 0
```


Another one that goes crazy: http://sarahspy.com/post/12643485796 (hosted on Tumblr)

```
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (16): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (17): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (18): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (19): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (20): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (21): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (22): sarahspy.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /post/12848432239%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): sarahspy.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /post/12512935464%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): sarahspy.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /post/11394955863%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910%3F420de910 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (23): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (19): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (24): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (20): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (25): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (21): sarahspy.com
DEBUG: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
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (26): sarahspy.com
DEBUG: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
```

And this one:

```

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (4): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /2011/02/clara-c.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+letmelikeit+%28LetMeLikeIt%29 HTTP/1.1" 200 None
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (5): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (6): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (7): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (8): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (9): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (10): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (11): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (12): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (13): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (14): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (15): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (16): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (17): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (18): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (19): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (20): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (21): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (22): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (23): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (24): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (25): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (26): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (27): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (28): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (29): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (30): jacuzzikillers.com
DEBUG:requests.packages.urllib3.connectionpool:"GET /index.php%3F/music/die-antwoord--poirier--boogat--el-romolon/%26utm_source%3Dfeedburner%26utm_medium%3Dfeed%26utm_campaign%3DFeed%3A%2BJacuzziKillers%2B%28Jacuzzi%2BKillers%29%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218%3Faa068218 HTTP/1.1" 302 0
```


This ticket should be reopened -- there are more unhandled cases:

```
>>> requests.__version__
'0.8.1'
>>> requests.get('http://t.co/sBP41YTn')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "requests/api.py", line 78, in get
    return request('get', url, **kwargs)
  File "requests/api.py", line 65, in request
    prefetch=prefetch
  File "requests/sessions.py", line 187, in request
    r.send(prefetch=prefetch)
  File "requests/models.py", line 459, in send
    self._build_response(r)
  File "requests/models.py", line 203, in _build_response
    raise TooManyRedirects()
requests.exceptions.TooManyRedirects
```

Browser, wget, curl work fine. curl output:

```
curl -L -I http://t.co/sBP41YTn
HTTP/1.1 301 Moved Permanently
Date: Thu, 17 Nov 2011 09:14:29 GMT
Server: hi
Location: http://bit.ly/qnyjiE
Cache-Control: private,max-age=300
Expires: Thu, 17 Nov 2011 09:19:29 GMT
Connection: close
Content-Type: text/html; charset=UTF-8

HTTP/1.1 301 Moved
Server: nginx
Date: Thu, 17 Nov 2011 09:14:24 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: _bit=4ec4d070-0024c-04de1-3c1cf10a;domain=.bit.ly;expires=Tue May 15 09:14:24 2012;path=/; HttpOnly
Cache-control: private; max-age=90
Location: http://www.freelance.nl/a/rvb220371/http://www.freelance.nl/?p=bekijkproject&id=321264
MIME-Version: 1.0
Content-Length: 182

HTTP/1.1 302 Found
Date: Thu, 17 Nov 2011 09:14:29 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.6-1+lenny13
Set-Cookie: PHPSESSID=9772382d74c91b87614e68bccc2de4da; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Location: http://www.freelance.nl/?p=bekijkproject&id=321264
Vary: Accept-Encoding
Content-Type: text/html

HTTP/1.1 200 OK
Date: Thu, 17 Nov 2011 09:14:29 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny13 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.6-1+lenny13
Set-Cookie: PHPSESSID=b1e3c4f673cb536c6e36afa47755ed2f; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html
```


$ python
Python 2.7.5+ (default, Sep 19 2013, 13:48:49) 
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import requests
r = requests.get('http://nedovolnie.ru/')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 55, in get
    return request('get', url, *_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 44, in request
    return session.request(method=method, url=url, *_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 382, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 505, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 99, in resolve_redirects
    raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects)
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

requests.**version**
'2.1.0'


Please note the date on this issue: it's more than two years old. The code has changed dramatically since then. Also, if you'd read some more recent issues you'd see that this is the same as issue #1805, which was fixed by #1808. The fix is in the current `master` and will be in the next release of Requests.


yes, path is working,
thank you very much


I am also having this issue, requesting a few urls and `requests.exceptions.TooManyRedirects` comes up randomly. I cannot set the limit for redirects, I get `AttributeError: 'module' object has no attribute 'settings'` for `requests.settings.max_redirects = None`

What is the current way of handling this exception?


@imrek without any detail, my best advice to you is to ask for help on [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests) and provide more detail there, e.g.,
- What url are you trying to make a request to?
- What does your code look like?
- etc.