My services return 304
, but jQuery Ajax seems to convert it to a 200 OK
result.
This is my request:
$.ajax({ url: '/api/items', type: 'GET', dataType: 'json', contentType: 'application/json', ifModified:true, cache: false, statusCode: { 304: function() { alert("not modified");
With Fiddler, I see that the service returns 304
correctly.
Why does jQuery convert it to 200
?
source share