Skip to content

Commit

Permalink
Automatically display the headers if --head is specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Aug 20, 2024
1 parent de3a7c3 commit 28d5df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ronin/cli/commands/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def process_value(url)
# @see HTTPMethods#print_response
#
def print_response(response)
super(response, show_headers: options[:verbose])
super(response, show_headers: verbose? || options[:head])
end

end
Expand Down

0 comments on commit 28d5df0

Please sign in to comment.