geosolutions-it / imageio-ext

Additional plugins and extension for the standard Java ImageIO library
Other
139 stars 80 forks source link

Add HTTP proxy support for the HTTP RangeReader #282

Closed dannyim closed 8 months ago

dannyim commented 1 year ago

I have a server on an internal network that can only reach the internet through an http proxy so requests to get COGs on the internet were failing.

I updated the HTTP client in cog-rangereader-http to use a proxy if the HTTP_PROXY_HOST and HTTP_PROXY_PORT environment variables are set. This has been working fine on my own setup, but I'm not sure how to write a good test for this.