lib/httpx/response.rb in httpx-0.21.1 vs lib/httpx/response.rb in httpx-0.22.0
- old
+ new
@@ -126,9 +126,11 @@
content_length == "0"
end
end
class Body
+ attr_reader :encoding
+
def initialize(response, options)
@response = response
@headers = response.headers
@options = options
@threshold_size = options.body_threshold_size