From: jaubourg Date: Sun, 16 Jan 2011 04:25:45 +0000 (+0100) Subject: The script prefilter now forces cross-domain requests type to GET. X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=f74b84498987ace9bbbc3c041607016a23ff251e The script prefilter now forces cross-domain requests type to GET. --- diff --git a/src/ajax/script.js b/src/ajax/script.js index ee1d489..b0e576f 100644 --- a/src/ajax/script.js +++ b/src/ajax/script.js @@ -23,6 +23,7 @@ jQuery.ajaxSetup({ } if ( s.crossDomain ) { + s.type = "GET"; s.global = false; }