     return callback err, null
 
   response =
+    body: ''
     transaction: {}
 
   logger.info('Rerun Transaction #' + transaction._id + ' - HTTP Request is being sent...')
   req = http.request options, (res) ->
-    response.body = ''
 
     res.on "data", (chunk) ->
       # response data

# Function for updating the task object with response details #
###############################################################


#########################################################
# Export these functions when in the "test" environment #

TaskModel = require('../model/tasks').Task
Channel = require('../model/channels').Channel
Q = require("q")
logger = require("winston")
monq = require("monq")
