      response = Net::HTTPResponse.send(:response_class, code.to_s).new("0.0", code.to_s, msg)     response.instance_variable_set(:@body, body)     response.instance_variable_set(:@read, true)     response   end    def 