lib/httpi/response.rb in httpi-2.4.1 vs lib/httpi/response.rb in httpi-2.4.2

- old
+ new

@@ -42,15 +42,17 @@ @cookies ||= Cookie.list_from_headers(headers) end # Returns any DIME attachments. def attachments + @body ||= nil decode_body unless @body @attachments ||= [] end # Returns the HTTP response body. def body + @body ||= nil decode_body unless @body @body end attr_writer :body