BUG: jQuery.ajax: contentType messing w\ HTTP POST Request with FireFox and Chrome, but not IE9

BUG: jQuery.ajax: contentType messing w\ HTTP POST Request with FireFox and Chrome, but not IE9

Hi
 
I "googled" around about how to define expected content-type for a POST to be "application/json", but it immedately fails with jqXHR.statusText = "error" and nothing more.
 
  • Is contentType attribute deprecated?
  • What is it erroring?
  • Is defining dataType: "json" sufficient?
 

  1.             $.ajax({
                    url: url,
                    type: "post",
                    dataType: "json",
                    contentType: "application/json",
                    data: data,
                    success: successCallback,
                    error: errorCallback,
                    complete: completeCallback
                    });









Thanks
 
Jeff in Seattle