uri_fetcher.rb revision 3554937a935585f1c6aea3e25895036cf3f74759
3554937a935585f1c6aea3e25895036cf3f74759Tim Reddehase def fetch_uri_content(uri, limit: 10, write_file: nil)
3554937a935585f1c6aea3e25895036cf3f74759Tim Reddehase raise ArgumentError, 'too many HTTP redirects' if limit == 0
3554937a935585f1c6aea3e25895036cf3f74759Tim Reddehase limit: limit-1,
3554937a935585f1c6aea3e25895036cf3f74759Tim Reddehase def produce_response_body(response, write_file=nil)