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

Follow Meta Refresh redirects? #2720

Open
ThatAnton opened this Issue Jul 23, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@ThatAnton
Copy link

ThatAnton commented Jul 23, 2017

Is there a way for request to follow Meta Refresh redirects? When requesting http://domain.com/url-1 which has a meta tag of <meta http-equiv="refresh" content="0; url=http://domain.com/url-2"> the ideal solution would be that request ends on /url-2 without having to capture the initial response, check the body for a Meta Refresh redirect and then firing off a second request for that Meta Refresh url.

Related to #92

@mfrye

This comment has been minimized.

Copy link

mfrye commented Oct 13, 2017

👍 Just ran into this one too. Seems like parsing the body with a regex might be solution? Cheerio would be cool, but probably overkill. Idk...

@stale

This comment has been minimized.

Copy link

stale bot commented Nov 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.