Permalink
Browse files
Added a default quality of `*/*` for content negotiation.
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/ajax.js
|
@@ -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 ) {} |
|
|
|
|
|
0 comments on commit
033a4c4