title: React to 303 status code in jquery ( Prevent from redirecting)
body: <p>when I send requests to a certain server, a 303 response will come, followed by the requested response in combination with a 200 status code.
  Funny thing is that I only see this on my developer console's network view. When checking the statuscode and response of my $.ajax() request, there will be the response of the second request, as well as a 200 http status code.</p>
  
  <p>The problem is that it seems that the second request is being cached (though 200 status code), and I really need it to be non-cachable.
  Therefore I'd really like to intervene into the forwarding process that occurs with a http 303 status code. I'd like my jquery function to check for the status code, then send the get request with explicit headers, that tell the server not to cache the response.</p>
  
  <p>Well, I just don't know how to do this, since (as mentioned above) the jQuery.ajax method will respond with the forwarded request's response and status code (200).</p>
  
  <p>Can you help me?</p>
  
  <p><strong>edit</strong></p>
  
  <blockquote>
    <p>10.3.4 303 See Other</p>
    
    <p>The response to the request can be found under a different URI and
    SHOULD be retrieved using a GET method on that resource. This method
    exists primarily to allow the output of a POST-activated script to
    redirect the user agent to a selected resource. The new URI is not a
    substitute reference for the originally requested resource. The 303
    response MUST NOT be cached, but the response to the second
    (redirected) request might be cacheable.</p>
  </blockquote>
  
  <p>maybe I need to somehow prevent the user agent from redirecting himself, so I can do the redirect?</p>
  
  <p>Or is there a way to simply tell the server/browser not to cache the second request from client-side? or to prevent it from redirecting my request? or at least modify the second request before redirecting?</p>