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

Fixes the do not follow redirects bug #944

Commits on Jun 24, 2014

  1. Fixes the do not follow redirects bug

    The HttpEngine would not obey the set state because there was no
    correlation between the HttpURLConnection.setInstanceFollowRedirects
    method and the OkHttpClient.
    
    Fixed the missing link by adding a new setFollowRedirects method to the
    OkHttpClient class.  Bridged the gap for the HttpURLConnection.setInstanceFollowRedirects
    by forwarding that state into the OkHttpClient.
    
    Now the HttpEngine will always obey the OkHttpClient redirect state when
    attempting the followUp phase.
    
    Added necessary test to both OkUrlFactoryTest and CallTest.
    
    square#943
    Miguel Lavigne committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    7d5c42a View commit details
    Browse the repository at this point in the history