Skip to content
Permalink
Browse files
Ref 27b22f4: Don't try to outsmart Apache
  • Loading branch information
gibson042 committed Nov 15, 2013
1 parent 27b22f4 commit 8dc0f2ea84e1861d8d8dfa7699268368c659f8e9
Showing 1 changed file with 3 additions and 1 deletion.
@@ -246,7 +246,9 @@ module( "ajax", {
url: url("data/headers.php?keys=content-type"),
contentType: false,
success: function( data ) {
strictEqual( data, "", "Test content-type is not sent when options.contentType===false" );
// Some server/interpreter combinations always supply a Content-Type to scripts
data = data || "content-type: \n";
strictEqual( data, "content-type: \n", "Test content-type is not set when options.contentType===false" );
}
}
]);

0 comments on commit 8dc0f2e

Please sign in to comment.