Skip to main content

Bug Tracker

Side navigation

#12571 closed bug (notabug)

Opened September 19, 2012 02:41PM UTC

Closed September 23, 2012 03:48PM UTC

jQuery XHR Object reports wrong status code

Reported by: odo@mac.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

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?

Thanks,

odo

Attachments (0)
Change History (1)

Changed September 23, 2012 03:48PM UTC by mikesherov comment:1

resolution: → notabug
status: newclosed

Thanks for the report! Please ask for help on the forum: http://forum.jquery.com/

If you're still believe you've found a bug after that, please open a new ticket, follow the bug reporting guidlines and use http://jsFiddle.net when providing test cases and demonstrations instead of pasting the code in the ticket.

Thanks!