- Fix: ClassCastException when caching responses that were redirected from HTTP to HTTPS.
- Fix: Connection reuse was broken for most HTTPS connections due to a bug in the way the hostname verifier was selected.
- Fix: Locking bug in SpdyConnection.
- Fix: Ignore null header values (for compatibility with HttpURLConnection).
- Add URLStreamHandlerFactory support so that
URL.openConnection()
uses OkHttp. - Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
Use
X-Android-Transports
to write the preferred transports andX-Android-Selected-Transport
to read the negotiated transport.
- Fix: Remove use of Java 6-only APIs.
- Fix: Properly handle exceptions from
NetworkInterface
when querying MTU. - Fix: Ensure MTU has a reasonable default and upper-bound.
- Correct casing of SSL in method names (
getSslSocketFactory
/setSslSocketFactory
).
Initial release.