leedo / noembed

oEmbed gateway service with additional non-oEmbed sources
http://www.noembed.com
485 stars 90 forks source link

unable to pass proxy to AnyEvent::HTTP #31

Closed clkao closed 8 years ago

clkao commented 10 years ago

Noembed::Util::http_get allows @options, but there's no way to pass proxy => option from handle_url.

leedo commented 10 years ago

I see, would a global proxy option be a good solution to this?

clkao commented 10 years ago

Actually AnyEvent::HTTP->set_proxy does the trick, but it might not be ideally because it's global and user needs to have knowledge about the implementation details. that said, just noting this in doc is probably the easiest ;)

leedo commented 8 years ago

No longer using AnyEvent