Added a default quality of */*
for content negotiation.
This commit is contained in:
parent
7862c45ad2
commit
033a4c41e0
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue