And the rest of the _default change.

This commit is contained in:
John Resig 2008-01-14 19:37:31 +00:00
parent 260fc23e92
commit ff08982508

View file

@ -287,7 +287,7 @@ jQuery.extend({
// Set the Accepts header for the server, depending on the dataType // Set the Accepts header for the server, depending on the dataType
xml.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ? xml.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ?
s.accepts[ s.dataType ] + ", */*" : s.accepts[ s.dataType ] + ", */*" :
s.accepts.default ); s.accepts._default );
} catch(e){} } catch(e){}
// Allow custom headers/mimetypes // Allow custom headers/mimetypes