Closed tangdah closed 9 years ago
HttpClient uses HttpURLConnection. There is a separate HttpsURLConnection that is not used at this time. It wouldn't be hard to add, but see the stackoverflow link I provide below.
http://docs.oracle.com/javase/7/docs/api/java/net/HttpURLConnection.html
http://stackoverflow.com/questions/1884230/java-doesnt-follow-redirect-in-urlconnection
On Tue, Feb 24, 2015 at 8:46 AM, tangdah notifications@github.com wrote:
setFollowRedirects(true) does not work if the protocol is changed from http to https during the redirect. Is this supposed to be handled automatically by the http module or not?
— Reply to this email directly or view it on GitHub https://github.com/decafjs/decaf/issues/5.
Ok thanks.
setFollowRedirects(true) does not work if the protocol is changed from http to https during the redirect. Is this supposed to be handled automatically by the http module or not?