title: HTTP GET Status Code "-1" on Safari - Any other browser reports status code 302 - Moved
body: <p>We have a page where the user enters his credentials. The user is then redirected to the landing page but we just discovered recently that on Safari 5.1 the redirection doesn't occur and is reported as an HTTP GET with status code -1:</p>
  
  <pre><code>Request URL:https://whatever.com/home.asp
  Request Method:GET
  Status Code:-1 
  Request Headers
  Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Encoding:gzip, deflate
  Accept-Language:en-US
  Origin:https://whatever.com
  Referer:https://whatever.com/logon.asp?CTAuthMode=BASIC&amp;language=en&amp;CT_ORIG_URL=https%3A%2F%2Fsubdomain.whatever.com%3A443%2Fyadda%2FDefault.aspx&amp;ct_orig_uri=https%3A%2F%2Fsubdomain.whatever.com%3A443%2Fyadda%2FDefault.aspx
  User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50
  </code></pre>
  
  <p>And the actual response content in Safari is this:</p>
  
  <pre><code>&lt;head&gt;&lt;title&gt;Object moved&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;&lt;h1&gt;Object Moved&lt;/h1&gt;This object may be found &lt;a HREF="https://whatever.com/logon.asp"&gt;here&lt;/a&gt;.&lt;/body&gt;
  HTTP/1.1 302 Object moved
  Cache-Control: private
  Content-Length: 167
  Content-Type: text/html
  Location: https://subdomain.whatever.com/yadda/Default.aspx
  Server: Microsoft-IIS/7.0
  X-Powered-By: ASP.NET
  
  
  &lt;head&gt;&lt;title&gt;Object moved&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;&lt;h1&gt;Object Moved&lt;/h1&gt;This object may be found &lt;a HREF="https://subdomain.whatever.com/yadda/Default.aspx"&gt;here&lt;/a&gt;.&lt;/body&gt;
  </code></pre>
  
  <p>Firefox reports something different:</p>
  
  <pre><code>Status: 302 Object moved
  Domain: whatever.com
  Size: 167 B
  </code></pre>
  
  <p>BUT when you look at the actual response's HTML in Firebug, it shows the actual landing page which is about 13.6 Kb in size.</p>
  
  <p>Has any body seen this behavior in Safari? It happens on Windows (XP &amp; 7) and Mac so the issue seems to be related to Safari itself. I don't know if this is a specific bug with my version of Safari or if older versions of Safari have the same issue.</p>
  
  <p>Any suggestions to work around this issue are greatly appreciated.</p>