clients
clients copied to clipboard
fix: Allow following redirects that go to another server
For issue #212 allowing for redirects that go to another server.
This may not be the best approach, as I'm still quite new to node, but this fix solves the use case that caused me to find the problem. There may be other stuff that should be kept as well, like usernames/passwords on the URL. You're the experts, please feel free to adopt, adapt, or ignore this change.