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

Add ability to use Standard Cookie Spec. #579

Open mplubratt opened 3 years ago

mplubratt commented 3 years ago

I'm getting an HttpClient warning "Invalid expires attribute". I found the following post in stackOverflow that describes the problem and solution.

https://stackoverflow.com/questions/36473478/fixing-httpclient-warning-invalid-expires-attribute-using-fluent-api/40697322

I'm not familiar enough with Clojure and clj-http to implement a solution. Thank you!

rymndhng commented 3 years ago

@mplubratt Did you intend on using cookies? If not, you may be able to ignore the warnings by disabling the cookie policy with :cookie-policy :none

For a similar issue, see https://github.com/dakrone/clj-http/issues/578.