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

feat: add option to omit headers and skip specific headers in CLI run command output #3467

Merged
merged 6 commits into from
Nov 21, 2024

Conversation

Pragadesh-45
Copy link
Contributor

@Pragadesh-45 Pragadesh-45 commented Nov 12, 2024

Description

This PR implements the feature to completely skip all headers or skip specific headers from the request and response after the request has run.

Example usage:

-- (Skip all) --

  1. bru run --reporter-skip-all-headers --reporter-html results.html

-- (Skip) --

  1. bru run --reporter-skip-headers "Authorization"
  2. bru run --reporter-skip-all-headers "Authorization" "Cache-Control" --reporter-html results.html

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.

@pull-request-size pull-request-size bot added size/M and removed size/S labels Nov 13, 2024
@Pragadesh-45 Pragadesh-45 changed the title feat: add option to omit headers in CLI run command output feat: add option to omit headers and skip specific headers in CLI run command output Nov 13, 2024
@lohxt1 lohxt1 marked this pull request as ready for review November 21, 2024 15:26
@lohxt1 lohxt1 merged commit fb8c54d into usebruno:main Nov 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants