1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 HttpComponents Client 5.0 Alpha1 发布 下载

本帖由 漂亮的石头2016-01-29 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,404
    赞:
    47
    HttpComponents Client 5.0 Alpha1 发布,主要更新如下:

    * Improved conformance to requirements and recommendations of the latest HTTP/1.1 protocol
    specification (RFC 7230, RFC 7231, RFC 7235)

    * Package name space changed to 'org.apache.hc.client5'

    * Maven group id changed to 'org.apache.httpcomponents.client5'

    * By default the maximum connections per route limit is set to 5

    * By default connection request timeout and connect timeout are set to 3 minutes.

    HttpClient 5.0 releases can be co-located with earlier versions, meaning you can have both 5.x and
    4.x on the classpath without experiencing jar hell.

    Please note that as of 5.0 HttpClient requires Java 1.7 or newer.

    Please note that at this point 5.0 APIs are considered API experimental and unstable and are
    expected to change in the coming releases without providing a migration path.




    Changelog:
    -------------------

    * [HTTPCLIENT-1575] route target port must be non negative
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * [HTTPCLIENT-1106] Use character arrays for passwords in Credentials objects
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7235: redesign of HTTP authenticator and related classes
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7231: parse capable of parsing multiple auth challenges
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7231: DefaultServiceUnavailableRetryStrategy to take Retry-After header value into account if specified
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7231: removed restriction on the use of relative URIs in Location header
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7231: revised redirect handling
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7231: do not generate header fields in TRACE requests containing sensitive data such as cookie and user
    credentials
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7231: automatic retrial of idempotent methods
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * RFC 7230: increased the default max number of concurrent connection for the same route from 2 to 5
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * Cache request line in HttpRequestWrapper
    Contributed by Dmitry Potapov <dpotapov at yandex-team.ru>

    * [HTTPCLIENT-1651] Add ability to disable content compression on a request basis
    Contributed by Oleg Kalnichevski <olegk at apache.org>

    * [HTTPCLIENT-1696]: Add convenience methods to fluent API class Request.
    Contributed by Gary Gregory <ggregory @ apache.org>

    详情请看:RELEASE_NOTES-5.0.x.txt
    HttpComponents Client 5.0 Alpha1 发布下载地址
     
正在加载...