 
         method : "POST"
         body : formData
-      (response) ->
-        response.json()
+      @handleEmptyJsonResponse
     )
 
 

        body : if typeof(data) == "string" then data else JSON.stringify(data)
        headers :
          "Content-Type" : "application/json"
      (response) ->
        response.json()
    )



        body : if typeof(data) == "string" then data else data.serialize()
        headers :
          "Content-Type" : "application/x-www-form-urlencoded"
      @handleEmptyJsonResponse
    )


