usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.6k stars 1.27k forks source link

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

Closed Pragadesh-45 closed 18 hours ago

Pragadesh-45 commented 1 week ago

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: