lib/httpx/headers.rb in httpx-0.6.3 vs lib/httpx/headers.rb in httpx-0.6.4
- old
+ new
@@ -128,9 +128,15 @@
# headers as string
def to_s
@headers.to_s
end
+ # :nocov:
+ def inspect
+ to_hash.inspect
+ end
+ # :nocov:
+
# this is internal API and doesn't abide to other public API
# guarantees, like downcasing strings.
# Please do not use this outside of core!
#
def key?(downcased_key)