   if headers and util.isObject headers
     xhr.setRequestHeader headerName, headerVal for headerName, headerVal of headers
 
-  if isURLRequest then xhr.send() else xhr.send data
+  if isURLRequest then xhr.send() else xhr.send getDataByHeader( headers, data )
 
   xhr.done = deferred.done.bind deferred
   xhr.fail = deferred.fail.bind deferred

    deferred.reject.apply deferred, arguments

###
 * @function
 * @param {String} url
 * @param {Object} settings

  ( url, params = {} )-> ajax url, util.clone( params, settings )

ajax.get = buildAjax {method:'get'}
ajax.post = buildAjax {method:'post', headers:{"Content-type":"application/x-www-form-urlencoded"}}
ajax.put = buildAjax {method:'put'}

ajax.postJson = buildAjax {method:'post', headers:{"Content-type":"application/json"}}

EH[JSONP_KEY] = {}

