Commit ff089825 authored by John Resig's avatar John Resig

And the rest of the _default change.

parent 260fc23e
...@@ -287,7 +287,7 @@ jQuery.extend({ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment