And the rest of the _default change.
This commit is contained in:
parent
260fc23e92
commit
ff08982508
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue