As RFC 6265 (and it's refferred to RFC 2616) said "Tue, 08 Oct 2019 13:58:33 GMT" must be accepted as Expires value.
Actual:
16:21:13.149 [main] WARN o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: guid=3f0a56cd-4038-4bdf-bca9-d811a2af6bf8; Max-Age=31535999; Expires=Tue, 08 Oct 2019 14:21:03 GMT; Path=/; Domain=.staging.com". Invalid 'expires' attribute: Tue, 08 Oct 2019 14:21:03 GMT
Expected:
Accept Set-Cookie.
Tested version: 0.8.0.1 and 0.9.0.RC3 of karate-apache
Git repo: https://github.com/shark300/expiresBug
@shark300 please follow the instructions here: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
until then this is tagged as "help wanted"
@ptrthomas
I've created a git repo: https://github.com/shark300/expiresBug
@shark300 I apologize for not getting to this sooner - and I didn't realize how comprehensive your working example is. thank you for creating a way to simulate, complete with server-side code. I will be referring others to your project !
fixed in dev. by the way, if you switch to karate-jersey it works fine.
@ptrthomas
Thanks!
Hi. I switched to katate-jersey but cookies hasn't expires or expiration , so I can't verify
could you tell how to solve this issue?
Hey @behzadian
We are ignoring karate usage until this release in our E2E tests. From my point of you I can't verify that...
@behzadian
so I can't verify
only thing I can advise is this:
https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
0.9.0 released
Fixed. Thank you.