Commit 8dc0f2ea authored by Richard Gibson's avatar Richard Gibson

Ref 27b22f4e: Don't try to outsmart Apache

parent 27b22f4e
...@@ -246,7 +246,9 @@ module( "ajax", { ...@@ -246,7 +246,9 @@ module( "ajax", {
url: url("data/headers.php?keys=content-type"), url: url("data/headers.php?keys=content-type"),
contentType: false, contentType: false,
success: function( data ) { 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" );
} }
} }
]); ]);
......
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