Closed licht1stein closed 3 years ago
I have the same issue:
Unhandled org.apache.http.cookie.MalformedCookieException
Invalid 'expires' attribute: Sat Jul 01 2023 00:00:00 GMT
It seems the right way to do it (if you don't care about cookies) was:
(clj-http.client/get url {:decode-cookies false :cookie-policy :none})
This was disccussed in a closed issue: https://github.com/dakrone/clj-http/issues/325 But the suggested work around doesn't solve it for me.
Error message when calling
(clj-http.client/get url {:cookie-storage cs :cookie-policy :standard})
:Strangely enough, when I try to slurp the same url from REPL I get the response. But when running with
lein run
I get this:SOLVED:
(clj-http.client/get url {:decode-cookies false :cookie-policy :none})