     return defaultBodyObject
 
 
-  @getDefaultHeadersObject = ->
+  @generateDefaultHeadersObject = ->
 
     userAgent =
       'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3)


module.exports = {
  RegisterHandlerHelper
  getRandomString
}



# returns 20 characters by default
generateRandomString = (length = 20) ->

  return hat().slice(32 - length)

# _.extend didn't help with deep extend
# deep extending one object from another, works only for objects
deepObjectExtend = (target, source) ->

