class Http_Response
  attr_reader :version, :status_code, :reason_phrase, :content_type, :body
  def intialize(args)
    @version = args.fetch(:version)
    @status_code = args.fetch(:status_code)
    @reason_phrase = args.fetch(:reason_phrase)
    @content_type = args.fetch(:content_type)
    @body = args.fetch(:body)
  end
  
  def to_s
    puts "#{version} #{status_code} #{reason_phrase} \n #{content_type} \n \n #{body} \n "
  end
end