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

feat(Android): Handle 303 redirection #1153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Crash--
Copy link

@Crash-- Crash-- commented Dec 14, 2022

Since HttpURLConnection doesn't allow the redirection between http and https (https://developer.android.com/reference/java/net/HttpURLConnection.html#response-handling) we need to handle the redirection manually by getting the location, closing the current connexion and create a new one.

We do that for almost all the 3xx response, but not for the 303. So, let's add it.

@Crash-- Crash-- changed the title feat: Handle 303 redirection feat(Android): Handle 303 redirection Dec 14, 2022
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

1 participant