mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 11:15:05 -05:00
Ajax: support non-RFC2616 methods for oldIE
Closes gh-1466 Fixes #13240
This commit is contained in:
@@ -1575,6 +1575,17 @@ module( "ajax", {
|
||||
}
|
||||
} );
|
||||
|
||||
ajaxTest( "#13240 - jQuery.ajax() - support non-RFC2616 methods", 1, {
|
||||
url: "data/echoQuery.php",
|
||||
method: "PATCH",
|
||||
success: function() {
|
||||
ok( true, "success" );
|
||||
},
|
||||
error: function() {
|
||||
ok( false, "error" );
|
||||
}
|
||||
});
|
||||
|
||||
// Support: Chrome 31.
|
||||
// Chrome 31 doesn't fire Ajax requests in beforeunload event handler.
|
||||
// There is no way for us to workaround it and it's been fixed in Chrome 32
|
||||
|
||||
Reference in New Issue
Block a user