             method: method
             query: data
             headers:
-                'User-Agent': @user_agent
+                'User-Agent': USER_AGENT
                 Host: parse_uri.host
 
         http_protocol = if options.port is 443 then https else http

class SailthruRequest

    @logging: true # By default enable logging
    @user_agent: 'Sailthru API Node/JavaScript Client'

    valid_methods = ['GET', 'POST', 'DELETE']



        rest.post(_url.href + action, {
            multipart: true,
            'User-Agent': USER_AGENT,
            data: json_payload
        }).on 'complete', (data) ->
            callback null, data
