You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Braintree SDK uses java.net.URL, java.net.HttpURLConnection, and javax.net.ssl.HttpsURLConnection classes as HTTP client. Unfortunately, those classes don't support HTTPS proxies. Please take a look at the example project that I've prepared here.
The example project demonstrates how different HTTP clients interact with an HTTPS proxy. It sets up an Apache HTTP Server as a proxy and provides example test cases for two different HTTP clients. Apache HTTP client works correctly via both HTTP and HTTPS ports, while Java one works correctly only via HTTP port.
I've prepared PR that makes HTTP client implementation in Braintree SDK configurable. Please take a look at it here.
In our case, HTTPS proxy is the recommended way of integration with our tokenization provider. Other Braintree clients may benefit from it as well.
The text was updated successfully, but these errors were encountered:
General information
Issue description
Currently, Braintree SDK uses
java.net.URL
,java.net.HttpURLConnection
, andjavax.net.ssl.HttpsURLConnection
classes as HTTP client. Unfortunately, those classes don't support HTTPS proxies. Please take a look at the example project that I've prepared here.The example project demonstrates how different HTTP clients interact with an HTTPS proxy. It sets up an Apache HTTP Server as a proxy and provides example test cases for two different HTTP clients. Apache HTTP client works correctly via both HTTP and HTTPS ports, while Java one works correctly only via HTTP port.
I've prepared PR that makes HTTP client implementation in Braintree SDK configurable. Please take a look at it here.
In our case, HTTPS proxy is the recommended way of integration with our tokenization provider. Other Braintree clients may benefit from it as well.
The text was updated successfully, but these errors were encountered: