Struct.new(:status, :headers, :body, :http_version)
# File lib/vcr/structs/response.rb, line 6 def self.from_net_http_response(response) new( ResponseStatus.from_net_http_response(response), response.to_hash, response.body, response.http_version ) end
# File lib/vcr/structs/response.rb, line 15 def update_content_length_header headers['content-length'] &&= [body.length.to_s] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.