设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

OkHttp 3.10.0发布,轻量的Java网络请求框架

2018-2-26 22:59| 发布者: joejoe0332| 查看: 441| 评论: 0|原作者: oschina|来自: oschina

摘要: OkHttp 3.10.0 发布了,OkHttp 是一个轻量的 Java 网络请求框架。本次更新内容如下:New: HttpUrl.addQueryParameter() percent-escapes more characters. Previously several ASCII punctuation characters were no ...

OkHttp 3.10.0 发布了,OkHttp 是一个轻量的 Java 网络请求框架。本次更新内容如下:

  • New: HttpUrl.addQueryParameter() percent-escapes more characters. Previously several ASCII punctuation characters were not percent-escaped when used with this method. This does not impact already-encoded query parameters in APIs like HttpUrl.parse() andHttpUrl.Builder.addEncodedQueryParameter().

  • New: CBC-mode ECDSA cipher suites have been removed from OkHttp's default configuration: TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA andTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA. This tracks a Chromium change to remove these cipher suites because they are fragile and rarely-used.

  • New: Don't fall back to common name (CN) verification for hostnames. This behavior was deprecated with RFC 2818 in May 2000 and was recently dropped from major web browsers.

  • New: Honor the Retry-After response header. HTTP 503 (Unavailable) responses are retried automatically if this header is present and its delay is 0 seconds. HTTP 408 (Client Timeout) responses are retried automatically if the header is absent or its delay is 0 seconds.

  • New: Allow request bodies for all HTTP methods except GET and HEAD.

  • New: Automatic module name of okhttp3 for use with the Java Platform Module System.

  • New: Log gzipped bodies when HttpLoggingInterceptor is used as a network interceptor.

  • New: Protocol.QUIC constant. This protocol is not supported but this constant is included for completeness.

  • New: Upgrade to Okio 1.14.0.

详细内容请查看 ChangeLog

下载地址:


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部