making responses coercable to string

This commit is contained in:
HoneyryderChuck 2021-08-10 10:21:10 +01:00
parent 20db082db2
commit c4f5362156

View File

@ -14,6 +14,8 @@ module HTTPX
def_delegator :@body, :to_s
def_delegator :@body, :to_str
def_delegator :@body, :read
def_delegator :@body, :copy_to