Commit 033a4c41 authored by Heungsub Lee's avatar Heungsub Lee Committed by John Resig

Added a default quality of `*/*` for content negotiation.

parent 7862c45a
......@@ -377,7 +377,7 @@ jQuery.extend({
// Set the Accepts header for the server, depending on the dataType
xhr.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ?
s.accepts[ s.dataType ] + ", */*" :
s.accepts[ s.dataType ] + ", */*; q=0.01" :
s.accepts._default );
} catch( headerError ) {}
......
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