Open johan12345 opened 7 years ago
Do we know that we won't require the same SNI workarounds with OkHttp on older Android versions?
OkHttp says it supports SNI on Android 2.3 and above: https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/internal/platform/Platform.java#L40
We are currently using Apache HTTPClient for all HTTP requests done from libopac. This has some disadvantages:
useLibrary 'org.apache.http.legacy'
to make libopac work on AndroidWe are planning to gradually switch all APIs to use OkHttp instead. This requires a large amount of testing, especially for the library systems that require peculiar types of HTTP requests.
Systems already migrated to OkHttp: