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 Redirection Feature (New PR) #10

Merged
merged 1 commit into from
Sep 30, 2020
Merged

Add Redirection Feature (New PR) #10

merged 1 commit into from
Sep 30, 2020

Conversation

eunbeek
Copy link

@eunbeek eunbeek commented Sep 30, 2020

Fixes #6 When the response code start at 300, I made a redirection to the next location.
I think your code misses this logic.

				// issue-6 redirection by Eunbee Kim
				String redirectURL = huc.getHeaderField("Location");
				urlTest(redirectURL);  

Please check this pull request!

@jossiey
Copy link
Owner

jossiey commented Sep 30, 2020

Optimize redirection feature

@jossiey jossiey merged commit f0d00e3 into jossiey:master Sep 30, 2020
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.

[Suggestion] When the response code is 301,307 or 308, redirect to next location
2 participants