Skip to content

Commit

Permalink
Add path and headers to request inspect method
Browse files Browse the repository at this point in the history
  • Loading branch information
adam12 committed May 9, 2021
1 parent 5f02f5d commit d1dd4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/http/generic_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def initialize(m, reqbody, resbody, uri_or_path, initheader = nil)
attr_reader :decode_content

def inspect
"\#<#{self.class} #{@method}>"
"\#<#{self.class} #{@method} path=#{@path.inspect} headers=#{to_hash.inspect}>"
end

##
Expand Down

0 comments on commit d1dd4a0

Please sign in to comment.