docs/changelogs/changelog_1x.md
2014-05-23
OkUrlFactory, Cache, and @Deprecated annotations for APIs
dropped in 2.0.2014-04-14
2014-03-29
Thread.interrupt(). OkHttp now checks
for an interruption before doing a blocking call. If it is interrupted,
it throws an InterruptedIOException.2014-03-17
HttpResponseCache
caused an IOException.2014-03-11
2014-03-07
Applications that want to use the global SSL context with OkHttp should configure their OkHttpClient instances with the following:
okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());
A simpler solution is to avoid the shared default SSL socket factory. Instead, if you need to customize SSL, do so for your specific OkHttpClient instance only.
Previously OkHttp added a synthetic response header, OkHttp-Selected-Transport. It
has been replaced with a new synthetic header, OkHttp-Selected-Protocol.
HTTP-draft-09/2.0.spdy/3.1. Dropped support for spdy/3.ICY 200 OK.PATCH method.DELETE method.okhttp-protocols module.2014-01-11
Content-Length header when redirected from POST to GET.null is never returned from a connection's getHeaderFields().Content-Encoding header to cache for GZip responses.; as separator for Cache-Control header.2013-08-23
2013-08-11
New APIs on OkHttpClient to set default timeouts for connect and read.
Fix bug when caching SPDY responses.
Fix a bug with SPDY plus half-closed streams. (thanks kwuollett)
Fix a bug in Content-Length reporting for gzipped streams in the Apache
HTTP client adapter. (thanks kwuollett)
Work around the Alcatel getByInetAddress bug (thanks k.kocel)
Be more aggressive about testing pooled sockets before reuse. (thanks warpspin)
Include Content-Type and Content-Encoding in the Apache HTTP client
adapter. (thanks kwuollett)
Add a media type class to OkHttp.
Change custom header prefix:
X-Android-Sent-Millis is now OkHttp-Sent-Millis
X-Android-Received-Millis is now OkHttp-Received-Millis
X-Android-Response-Source is now OkHttp-Response-Source
X-Android-Selected-Transport is now OkHttp-Selected-Transport
Improve cache invalidation for POST-like requests.
Bring MockWebServer into OkHttp and teach it SPDY.
2013-06-23
2013-06-15
URL.openConnection() uses
OkHttp.X-Android-Transports to write the preferred transports and
X-Android-Selected-Transport to read the negotiated transport.2013-05-11
NetworkInterface when querying MTU.2013-05-06
getSslSocketFactory/setSslSocketFactory).2013-05-06
Initial release.