Bug Tracker

Modify

Ticket #12571 (closed bug: notabug)

Opened 9 months ago

Last modified 9 months ago

jQuery XHR Object reports wrong status code

Reported by: odo@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocking: Blocked by:

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

Change History

comment:1 Changed 9 months ago by mikesherov

  • Status changed from new to closed
  • Resolution set to notabug

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!

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.