HttpClient警告: Invalid cookie header: "Set-Cookie:
警告信息:
2022-12-9 9:22:04 org.apache.http.client.protocol.ResponseProcessCookies processCookies
警告: Invalid cookie header: "Set-Cookie: EnwNJ0bFlEL6O=59LafnOhueIs0rcagDIlJyPNlqJzBj..ELhYxV79nvFJUquEmTuKLN3rc0nTx2ChZOEymjxV8KX5_EIdjpv1RjG; Path=/; expires=Mon, 06 Dec 2032 01:21:31 GMT; Secure; HttpOnly". Invalid 'expires' attribute: Mon, 06 Dec 2032 01:21:31 GMT
增加setCookieSpec配置:
RequestConfig requestConfig = RequestConfig.custom() .setCookieSpec(CookieSpecs.STANDARD) .setConnectionRequestTimeout(60000) .setSocketTimeout(60000) .setConnectTimeout(60000).build();