Cookie 规范设置为过时的 RFC2109spec RFC2965spec 和 apache HttpClient4.4.4 中的 netscape 规范

Cookie spec is set to outdated RFC2109spec RFC2965spec and netscape spec in apache HttpClient4.4.4

虽然RPF6965spec是cookie管理的最新发展,但apache HttpClient 4.4.4也默认使用上述规范。为什么要将 cookie 规范设置为标准才能使用 RPF6965spec?

为了与以前版本的 Apache HttpClient 4 向后兼容。5.x 使用 cookie 策略,根据 cookie 组成自动选择 NetscapeRFC 2109RFC 2965 规范.

从 5.0 版开始,Apache HttpClient 将默认使用 RFC 6965 策略。