And the rest of the _default change.
[jquery.git] / src / ajax.js
index 743857c..0f799fc 100644 (file)
@@ -153,7 +153,7 @@ jQuery.extend({
                        script: "text/javascript, application/javascript",
                        json: "application/json, text/javascript",
                        text: "text/plain",
-                       "default": "*/*"
+                       _default: "*/*"
                }
        },
        
@@ -287,7 +287,7 @@ jQuery.extend({
                        // Set the Accepts header for the server, depending on the dataType
                        xml.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ?
                                s.accepts[ s.dataType ] + ", */*" :
-                               s.accepts.default );
+                               s.accepts._default );
                } catch(e){}
 
                // Allow custom headers/mimetypes