jgritman / httpbuilder

315 stars 154 forks source link

Respect property https.protocols #64

Open kairas opened 8 years ago

kairas commented 8 years ago

API's are disabling TLS v1 in favor of the more secure protocols TLS 1.1 or TLS 1.2. Java has a system property for setting this, https.protocols, that this library completely ignores. Updating the library so that this property is used to set the transport protocols.

Upgrading http-client version to 4.5.2 for the SSLConnectionSocketFactory builder

Fixing testRedirect() - google redirects http - https now

Fixes issue https://github.com/jgritman/httpbuilder/issues/56

kaaloo commented 7 years ago

Thanks for this @kairas! Testing the jar built from your fork now.