The script prefilter now forces cross-domain requests type to GET.
[jquery.git] / src / ajax / script.js
index ee1d489..b0e576f 100644 (file)
@@ -23,6 +23,7 @@ jQuery.ajaxSetup({
        }
 
        if ( s.crossDomain ) {
+               s.type = "GET";
                s.global = false;
        }