Colorize HttpTrace output, add an option to show headers only, and refactor send_request_cgi#12916
Merged
adfoster-r7 merged 6 commits intorapid7:masterfrom Feb 24, 2020
Merged
Conversation
adfoster-r7
reviewed
Feb 7, 2020
c2a4c81 to
9a6f6cf
Compare
9a6f6cf to
0aca3f0
Compare
adfoster-r7
reviewed
Feb 14, 2020
wvu
commented
Feb 14, 2020
wvu
commented
Feb 14, 2020
wvu
commented
Feb 14, 2020
wvu
commented
Feb 21, 2020
wvu
commented
Feb 21, 2020
This is the best of both worlds for visibility and copy/pasted output.
bcf4650 to
83e06ab
Compare
Contributor
Release NotesAdds support for colorized HttpTrace output, with an additional HttpTraceHeadersOnly option to only show HTTP headers when HttpTrace is enabled. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We decided that keeping the banners and leaving color on by default was the best choice.
Note that you can disable color by either unsetting
HttpTraceColorsor runningcolor falseto disable color in the console driver.What it looks like
What I stole it from
Verification steps
send_request_rawsend_request_cgisend_request_cgi!This PR continues a refactor started in #12510.