Skip to content

Handle http-success when set-cookie is not define in some responses#94

Open
thibon wants to merge 2 commits intoevilsocket:mainfrom
thibon:main
Open

Handle http-success when set-cookie is not define in some responses#94
thibon wants to merge 2 commits intoevilsocket:mainfrom
thibon:main

Conversation

@thibon
Copy link

@thibon thibon commented Mar 26, 2026

Fix #93

When setting --http-success with something like --http-success "set_cookie == "" and set-cookie does not exist in the response, legs throw the following error:

[ERROR] error evaluating success expression: Variable identifier is not bound to anything by context: "set_cookie".

This should fix the bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error using http-success with set_cookie

1 participant