noaa icon indicating copy to clipboard operation
noaa copied to clipboard

Wrap Net:HTTP with OpenURI to handle redirects

Open mcordell opened this issue 10 years ago • 0 comments

The hardcoded URLs in HttpService will redirect, which plain Net::HTTP cannot handle. By wrapping Net::HTTP with OpenURI, HttpService will be able to handle these redirects.

Fixes #4

mcordell avatar Feb 25 '14 23:02 mcordell