def _do_get_values(self, inrec):
        outrec = Record(FCGI_GET_VALUES_RESULT)

        pos = 0
        while pos < inrec.contentLength:
            pos, (name, value) = decode_pair(inrec.contentData, pos)
            cap = self.server.capability.get(name)
            if cap is not None:
                outrec.contentData += encode_pair(name, str(cap))

        outrec.contentLength = len(outrec.contentData)
        self.writeRecord(outrec)
Replaces text in given file and saves the output to the
dataset/ETHPy150Open kdart/pycopia/core/pycopia/inet/fcgi.py/Connection._do_get_values--crossover with--dataset/ETHPy150Open nasa-gibs/onearth/src/test/oe_test_utils.py/file_text_replace