I have a URL that looks like http://www.example.com/link?url=http://www.google.com
. And the URL redirects to http://www.google.com
when opened in the browser. But when I check the status code of the URL, it shows 200 instead of 3xx. Even if I check with print(url.history)
it shows []
. Please explain!
Edit: I checked the response of the request it was like :
var url = 'http://www.google.com';
window.location=url;
</script>
<!-- Form pop up box -->
<div id="popUpPageConatiner" style="display:none;" ></div>
<!-- close form pop up box -->