   ajaxDelay = options.ajaxDelay
   maxRetries = options.maxRetries ? 5
 
+  contentType = options.contentType
+
   request = null
 
   successStatusCodes = [200, 202, 206]

  if data? && typeof data == "object" && options.skipConversion != true
    headers["Content-Type"] = "application/json"
    data = JSON.stringify(data)

  resolveStatus = (data) ->
    if ajaxDelay?


          rejectStatus(error)


    if options.withCredentials == true
      ajaxOptions.xhrFields =
        withCredentials: true

    ajaxOptions.cache = options.cache if options.cache?
    ajaxOptions.contentType = contentType if contentType?
    ajaxOptions.dataType = options.dataType if options.dataType?

    request = $.ajax(ajaxOptions)

