Python fordert Header zu
import requests
url = "http://mock.kite.com/redirect"
print requests.get(url, allow_redirects = False).text
OUTPUT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>Redirecting...</title>
<h1>Redirecting...</h1>
<p>You should be redirected automatically to target URL: <a href="/text">/text</a>. If not click the link.
Fantastic Fly