Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add followRedirect option #189

Closed
wants to merge 2 commits into from
Closed

Conversation

RoobinGood
Copy link

Add option followRedirect to be able to not follow redirects.

@sindresorhus
Copy link
Owner

Duplicate of #166. Can you elaborate on why you need this?

@RoobinGood
Copy link
Author

@sindresorhus I've just need this options in my tests on work project to check if the resource is reachable for user. If resource is not reachable server redirects user, so I need followRedirect is false to check status and location.
Also this options is represented in request. Previously I used request for testing, but got is lightly and easier. However I need some compatibility with request.

@floatdrop
Copy link
Contributor

Implemented in #166.

@floatdrop floatdrop closed this Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants