-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1211 Standard delete Cookie behaviour does not work in Karate #1316
Conversation
@ptrthomas - this possibly is the fix to delete cookies -
Please let me know for any feedback - included test cases as following - @apache @mock-servlet-todo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and you had a question on how to check for what was sent - here is an example: https://github.com/intuit/karate/blob/master/karate-demo/src/test/java/demo/encoding/encoding.feature#L60
just FYI - there is configure setting in karate to convert all header names to lower-case, not on by default, example: https://github.com/intuit/karate/blob/master/karate-demo/src/test/java/demo/headers/content-type.feature
karate-apache/src/main/java/com/intuit/karate/http/apache/ApacheHttpClient.java
Outdated
Show resolved
Hide resolved
…d reviee comment
@chaudharydeepak LGTM - were you planning any more changes ? |
@ptrthomas - no, I think we good, Thank you. |
@ptrthomas - Thank you for sharing this! |
@ptrthomas - quick update - I went ahead and filled the google form. Thank you for this amazing opportunity to collaborate!
|
#1211 Standard delete Cookie behaviour does not work in Karate
We delete cookies by setting expiration from max-age. If cookie is getting expired via set-cookie header, modified code to include this while adding the cookie.