Ticket #12571 (closed bug: notabug)
jQuery XHR Object reports wrong status code
|Reported by:||odo@…||Owned by:|
When I am loading data via $.ajax and inspect the jqXHR via the 'complete' callback, it reports the right status code.
When I reload the page with document.location = window.location.href and do the Ajax-request again, it always comes across as a 200, although I can see in the debugging proxy, that it says HTTP/1.1 304 Not Modified .
Am I doing something wrong here or is this intended behavior? Is there a way to access the raw response?