switch from Net:HTTP to open-uri for easier redirect handling