php-echonest-api icon indicating copy to clipboard operation
php-echonest-api copied to clipboard

Enable proxy option?

Open avrombay opened this issue 13 years ago • 1 comments

This might be too specialized, but I think adding a feature so people can specify a proxy server ala CURLOPT_PROXY would be a great idea, especially in situations where it would be advantageous to cache certain requests in a webcache like squid or varnish.

I'm going to write a EchoNest_HttpClient_ProxyCurl class to test it out, unless you have any objections.

Thanks!

avrombay avatar Oct 23 '11 19:10 avrombay

That sounds like a great idea! Please submit a pull request when you are finished.

bshaffer avatar Oct 27 '11 00:10 bshaffer