title: Link with status code 200 redirects
body: <p>I have a link which has status code 200. But when I open it in browser it redirects.</p>
  
  <p>On fetching the same link with Python Requests it simply shows the data from the original link. I tried both Python Requests and urllib but had no success.</p>
  
  <ol>
  <li><p>How to capture the final URL and its data?</p></li>
  <li><p>How can a link with status 200 redirect?</p></li>
  </ol>
  
  <pre class="lang-none prettyprint-override"><code>&gt;&gt;&gt; url ='http://www.afaqs.com/news/story/52344_The-target-is-to-get-advertisers-to-switch-from-print-to-TV-Ravish-Kumar-Viacom18'
  &gt;&gt;&gt; r = requests.get(url)
  &gt;&gt;&gt; r.url
  'http://www.afaqs.com/news/story/52344_The-target-is-to-get-advertisers-to-switch-from-print-to-TV-Ravish-Kumar-Viacom18'
  &gt;&gt;&gt; r.history
  []
  &gt;&gt;&gt; r.status_code
  200
  </code></pre>
  
  <p><a href="http://www.afaqs.com/news/story/52344_The-target-is-to-get-advertisers-to-switch-from-print-to-TV-Ravish-Kumar-Viacom18" rel="nofollow noreferrer">This is the link</a></p>
  
  <p><a href="http://www.afaqs.com/interviews/index.html?id=572_The-target-is-to-get-advertisers-to-switch-from-print-to-TV-Ravish-Kumar-Viacom18" rel="nofollow noreferrer">Redirected link</a></p>