Closed ryber closed 6 years ago
todo: add option to ignore cookies as a one liner with the Options class
This is caused by the cookie being in an invalid format, and it doesn't stop things. only produces a warning. There might be a good reason to have a easy way to set custom cookie policies outside of setting a custom client but we will not support that at this time.
per https://github.com/Kong/unirest-java/issues/97
Jun 06, 2015 4:36:18 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies WARNING: Invalid cookie header: "Set-Cookie: dweet:thing=hallowed-mailbox; path=/; expires=Sun, 05 Jun 2016 20:36:16 GMT; httponly". Invalid 'expires' attribute: Sun, 05 Jun 2016 20:36:16 GMT Can someone please help me fix this frustrating error? I love Unirest, it's like requests but in Java too!
I encountered the same problem and found a solution: