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

HTTP to HTTPS redirections, always to GET #7

Open
rafacouto opened this issue Feb 13, 2014 · 1 comment
Open

HTTP to HTTPS redirections, always to GET #7

rafacouto opened this issue Feb 13, 2014 · 1 comment
Assignees

Comments

@rafacouto
Copy link
Contributor

I have detected that POST requests redirected from HTTP to HTTPS are converted to GET requests.

Redirections are ordered by Apache webserver with Redirect directive It produces responses with HTTP status 301 (Moved Permanently):

<VirtualHost myhost.com:80>
    # Force HTTPS:
    Redirect permanent / https://myhost.com/
</VirtualHost>

May be that changing the method is a security feature, or may be a bug. In any case, I have dig into DroidNetworking code and it seems a behavior from the org.apache.http namespace (I am not completly sure).

@netdev netdev self-assigned this Feb 19, 2014
@netdev
Copy link
Contributor

netdev commented Mar 6, 2014

I will look in to this in a few days!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants