def _makeStringIO(self, strval):
        if PY2:
            return StringIO(strval)

        return StringIO(strval.decode())
Helper method to make sure the StringIO being returned will work.
dataset/ETHPy150Open geopython/OWSLib/owslib/feature/wfs110.py/WebFeatureService_1_1_0._makeStringIO