Skip to content
Discussion options

You must be logged in to vote

Hi, you're right we don't have any official mechanism to clear cookie storage. That said, there is an undocumented way of clearing cookie before a request:

# @cookie_storage_clear
GET https://foo.com

This special comment will clear the cookie storage. It's undocumented because, for the moment, we are not sure about how to deals (syntax wise) with these kind of commands.

In your case, a better way would be to implement a new option --no-cookie-storage that will prevent a cookie store within a Hurl file.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@direktoren
Comment options

Answer selected by direktoren
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants