ethanent / phin

Node HTTP client
MIT License
576 stars 33 forks source link

Redirect limit #78

Open ethanent opened 3 years ago

ethanent commented 3 years ago

Add a redirect limit by default when the user enables followRedirects, and allow followRedirects to be set to a number signifying the max number of redirects to follow.

What would be a sensible number to cap at for followRedirects: true?