mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
jquery ajax: Misc rename
This commit is contained in:
@@ -524,11 +524,11 @@ jQuery.extend({
|
||||
|
||||
// Determines if an XMLHttpRequest returns NotModified
|
||||
httpNotModified: function( xhr, url ) {
|
||||
var last_modified = xhr.getResponseHeader("Last-Modified"),
|
||||
var lastModified = xhr.getResponseHeader("Last-Modified"),
|
||||
etag = xhr.getResponseHeader("Etag");
|
||||
|
||||
if ( last_modified ) {
|
||||
jQuery.lastModified[url] = last_modified;
|
||||
if ( lastModified ) {
|
||||
jQuery.lastModified[url] = lastModified;
|
||||
}
|
||||
|
||||
if ( etag ) {
|
||||
|
||||
Reference in New Issue
Block a user