Closed alistar79 closed 11 years ago
I'm going to look at adding to:
def campfire_get(path, args = {})
action_log("get", path, nil)
full_path = host << path
http = EventMachine::HttpRequest.new(full_path).get(
:head => {'authorization' => [@token, 'x']},
:query => args)
http.errback { on_connection_error("get", path) }
http
end
Should be pretty simple to grab the vars and split them into the right parts to be passed to em-http as the proxy object.
Would you be interested in pulling this should I send a pull request?
Is there any HTTP proxy support in this or is there any planned?