title: Python 3.2 dealing with Redirect to relative url HTTP Error 302
body: <p>I am trying to enter a website with Python 3.2 using no extra modules.</p>
  
  <p>I am using urllib.request.urlopen(site), but when you request the site it throws an HTTP 302 Error due to an unhandled PHP redirect to "/"</p>
  
  <p>During the redirect the website sets a cookie which is needed to further access the site.</p>
  
  <p>How would I handle this in Python?</p>