dakrone / clj-http

An idiomatic clojure http client wrapping the apache client. Officially supported version.
http://clojars.org/clj-http
MIT License
1.78k stars 408 forks source link

clj-http and WARNING: Invalid cookie header: #578

Closed x-nikolas closed 3 years ago

x-nikolas commented 3 years ago

Hi dear! For the first, thank you for clj-http library! Everything is good, but recently I became to receive this warning messages in every website responce (but it wasn`t before):

нояб. 29, 2020 3:21:09 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies WARNING: Invalid cookie header: "Set-Cookie: last_ref=None; expires=Tue, 29 Dec 2020 12:21:08 GMT; HttpOnly; Max-Age=2592000; Path=/; Secure". Invalid 'expires' attribute: Tue, 29 Dec 2020 12:21:08 GMT нояб. 29, 2020 3:21:09 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies

Tell me, please, how can I fix it?

x-nikolas commented 3 years ago

The answer is :cookie-policy :none