Fork


David Ljung Madison <librelist.com@...>
 

I've created a very simple fork of rest-client that allows
per-resource proxy settings:

resource = RestClient::Resource.new(url, :proxy => auth.proxy)
response = resource.get()

I needed this because I am using RestClient in threads to access many
resources, some proxied, some not.

I put the code up as a fork on github, not sure if that's the proper
way to put it up for inclusion in the project, but the repo is here:

https://github.com/Daveola/rest-client

Along those lines - does anyone know about how thread-safe RestClient is?

Dave

---------------------------------------------------------------------------
Dave Ljung Madison http://GetDave.com/ 415.341.5555
--- "Debugging is twice as hard as writing the code in the first place. ---
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Join {main@rest-client.groups.io to automatically receive all group messages.