Skip to content
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

Added ability to set default headers and to copy headers #155

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jerichokeyne
Copy link

Added some code to be able to both set default headers for a benchmark, as well as copy headers from the response of one request to use for future requests (mainly implemented to be help me deal with CSRF tokens). This is my first PR for a rust project, so let me know if there's anything that might need changes.

As far as I can tell, these changes didn't break anything when running either cargo test or the benchmark.yml benchmark. I also added a bit of code to the example server and the headers.yml benchmark to test the new functionality.

@jerichokeyne
Copy link
Author

Just also added the ability to use with_items with the exec action

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.

1 participant