         @options = @options || {}
 
         @options.host = siteUrl
+        @options.hostname = siteUrl
         @options.auth = apiToken  + ':'
         @options.method = method
         @options.path    = url


    new XFuse 'PUT', url, putData, callback

exports.delete = (url, callback) ->
    
    new XFuse 'DELETE', url, callback


        req.on 'error', (e) =>
            @callback e, null
            return
        req.setHeader 'Content-Type', 'application/json'
        req.setHeader 'Content-Length', 0
        req.end()
        return
exports.get = (url, params, callback) ->
    if typeof params == 'function'
